ListResourcesForWebACLResult.setResourceArns
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.amazonaws.services.waf.model.ListResourcesForWebACLResult.setResourceArns(Showing top 8 results out of 315)

origin: aws/aws-sdk-java

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(java.util.Collection<String> resourceArns) {
  setResourceArns(resourceArns);
  return this;
}
origin: aws/aws-sdk-java

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setResourceArns(java.util.Collection)} or {@link #withResourceArns(java.util.Collection)} if you want to
 * override the existing values.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(String... resourceArns) {
  if (this.resourceArns == null) {
    setResourceArns(new java.util.ArrayList<String>(resourceArns.length));
  }
  for (String ele : resourceArns) {
    this.resourceArns.add(ele);
  }
  return this;
}
origin: aws/aws-sdk-java

public ListResourcesForWebACLResult unmarshall(JsonUnmarshallerContext context) throws Exception {
  ListResourcesForWebACLResult listResourcesForWebACLResult = new ListResourcesForWebACLResult();
  int originalDepth = context.getCurrentDepth();
  String currentParentElement = context.getCurrentParentElement();
  int targetDepth = originalDepth + 1;
  JsonToken token = context.getCurrentToken();
  if (token == null)
    token = context.nextToken();
  if (token == VALUE_NULL) {
    return listResourcesForWebACLResult;
  }
  while (true) {
    if (token == null)
      break;
    if (token == FIELD_NAME || token == START_OBJECT) {
      if (context.testExpression("ResourceArns", targetDepth)) {
        context.nextToken();
        listResourcesForWebACLResult.setResourceArns(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
      }
    } else if (token == END_ARRAY || token == END_OBJECT) {
      if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
        if (context.getCurrentDepth() <= originalDepth)
          break;
      }
    }
    token = context.nextToken();
  }
  return listResourcesForWebACLResult;
}
origin: com.amazonaws/aws-java-sdk-bundle

public ListResourcesForWebACLResult unmarshall(JsonUnmarshallerContext context) throws Exception {
  ListResourcesForWebACLResult listResourcesForWebACLResult = new ListResourcesForWebACLResult();
  int originalDepth = context.getCurrentDepth();
  String currentParentElement = context.getCurrentParentElement();
  int targetDepth = originalDepth + 1;
  JsonToken token = context.getCurrentToken();
  if (token == null)
    token = context.nextToken();
  if (token == VALUE_NULL) {
    return listResourcesForWebACLResult;
  }
  while (true) {
    if (token == null)
      break;
    if (token == FIELD_NAME || token == START_OBJECT) {
      if (context.testExpression("ResourceArns", targetDepth)) {
        context.nextToken();
        listResourcesForWebACLResult.setResourceArns(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
      }
    } else if (token == END_ARRAY || token == END_OBJECT) {
      if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
        if (context.getCurrentDepth() <= originalDepth)
          break;
      }
    }
    token = context.nextToken();
  }
  return listResourcesForWebACLResult;
}
origin: com.amazonaws/aws-java-sdk-osgi

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(java.util.Collection<String> resourceArns) {
  setResourceArns(resourceArns);
  return this;
}
origin: com.amazonaws/aws-java-sdk-bundle

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(java.util.Collection<String> resourceArns) {
  setResourceArns(resourceArns);
  return this;
}
origin: com.amazonaws/aws-java-sdk-bundle

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setResourceArns(java.util.Collection)} or {@link #withResourceArns(java.util.Collection)} if you want to
 * override the existing values.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(String... resourceArns) {
  if (this.resourceArns == null) {
    setResourceArns(new java.util.ArrayList<String>(resourceArns.length));
  }
  for (String ele : resourceArns) {
    this.resourceArns.add(ele);
  }
  return this;
}
origin: com.amazonaws/aws-java-sdk-osgi

/**
 * <p>
 * An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with
 * zero elements is returned if there are no resources associated with the web ACL.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setResourceArns(java.util.Collection)} or {@link #withResourceArns(java.util.Collection)} if you want to
 * override the existing values.
 * </p>
 * 
 * @param resourceArns
 *        An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array
 *        with zero elements is returned if there are no resources associated with the web ACL.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourcesForWebACLResult withResourceArns(String... resourceArns) {
  if (this.resourceArns == null) {
    setResourceArns(new java.util.ArrayList<String>(resourceArns.length));
  }
  for (String ele : resourceArns) {
    this.resourceArns.add(ele);
  }
  return this;
}
com.amazonaws.services.waf.modelListResourcesForWebACLResultsetResourceArns

Javadoc

An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.

Popular methods of ListResourcesForWebACLResult

  • getResourceArns
    An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An
  • <init>

Popular classes and methods

  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
    Sets the value of the specified request header field. The value will only be used by the current URL
  • getApplicationContext (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • PrintStream (java.io)
    Wraps an existing OutputStream and provides convenience methods for writing common data types in a h
  • Format (java.text)
    Format is an abstract base class for formatting locale-sensitive information such as dates, messages
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFrame (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)