Tabnine Logo
InstanceNetworkInterface.setGroups
Code IndexAdd Tabnine to your IDE (free)

How to use
setGroups
method
in
com.amazonaws.services.ec2.model.InstanceNetworkInterface

Best Java code snippets using com.amazonaws.services.ec2.model.InstanceNetworkInterface.setGroups (Showing top 5 results out of 315)

origin: aws/aws-sdk-java

/**
 * <p>
 * One or more security groups.
 * </p>
 * 
 * @param groups
 *        One or more security groups.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public InstanceNetworkInterface withGroups(java.util.Collection<GroupIdentifier> groups) {
  setGroups(groups);
  return this;
}
origin: aws/aws-sdk-java

/**
 * <p>
 * One or more security groups.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setGroups(java.util.Collection)} or {@link #withGroups(java.util.Collection)} if you want to override the
 * existing values.
 * </p>
 * 
 * @param groups
 *        One or more security groups.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public InstanceNetworkInterface withGroups(GroupIdentifier... groups) {
  if (this.groups == null) {
    setGroups(new com.amazonaws.internal.SdkInternalList<GroupIdentifier>(groups.length));
  }
  for (GroupIdentifier ele : groups) {
    this.groups.add(ele);
  }
  return this;
}
origin: aws-amplify/aws-sdk-android

/**
 * One or more security groups.
 * <p>
 * Returns a reference to this object so that method calls can be chained together.
 *
 * @param groups One or more security groups.
 *
 * @return A reference to this updated object so that method calls can be chained
 *         together.
 */
public InstanceNetworkInterface withGroups(GroupIdentifier... groups) {
  if (getGroups() == null) setGroups(new java.util.ArrayList<GroupIdentifier>(groups.length));
  for (GroupIdentifier value : groups) {
    getGroups().add(value);
  }
  return this;
}

origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * One or more security groups.
 * </p>
 * 
 * @param groups
 *        One or more security groups.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public InstanceNetworkInterface withGroups(java.util.Collection<GroupIdentifier> groups) {
  setGroups(groups);
  return this;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * One or more security groups.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setGroups(java.util.Collection)} or {@link #withGroups(java.util.Collection)} if you want to override the
 * existing values.
 * </p>
 * 
 * @param groups
 *        One or more security groups.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public InstanceNetworkInterface withGroups(GroupIdentifier... groups) {
  if (this.groups == null) {
    setGroups(new com.amazonaws.internal.SdkInternalList<GroupIdentifier>(groups.length));
  }
  for (GroupIdentifier ele : groups) {
    this.groups.add(ele);
  }
  return this;
}
com.amazonaws.services.ec2.modelInstanceNetworkInterfacesetGroups

Javadoc

One or more security groups.

Popular methods of InstanceNetworkInterface

  • getAttachment
    The network interface attachment.
  • getPrivateIpAddress
    The IPv4 address of the network interface within the subnet.
  • getNetworkInterfaceId
    The ID of the network interface.
  • <init>
  • getAssociation
    The association information for an Elastic IPv4 associated with the network interface.
  • getDescription
    The description.
  • getGroups
    One or more security groups.
  • getMacAddress
    The MAC address.
  • getOwnerId
    The ID of the AWS account that created the network interface.
  • getPrivateDnsName
    The private DNS name.
  • getPrivateIpAddresses
    One or more private IPv4 addresses associated with the network interface.
  • getStatus
    The status of the network interface.
  • getPrivateIpAddresses,
  • getStatus,
  • getSubnetId,
  • getVpcId,
  • setAssociation,
  • setAttachment,
  • setDescription,
  • setMacAddress,
  • setNetworkInterfaceId

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now