Tabnine Logo
DescribeInternetGatewaysResult.setInternetGateways
Code IndexAdd Tabnine to your IDE (free)

How to use
setInternetGateways
method
in
com.amazonaws.services.ec2.model.DescribeInternetGatewaysResult

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

origin: aws/aws-sdk-java

/**
 * <p>
 * Information about one or more internet gateways.
 * </p>
 * 
 * @param internetGateways
 *        Information about one or more internet gateways.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DescribeInternetGatewaysResult withInternetGateways(java.util.Collection<InternetGateway> internetGateways) {
  setInternetGateways(internetGateways);
  return this;
}
origin: aws/aws-sdk-java

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

/**
 * Information about one or more Internet gateways.
 * <p>
 * Returns a reference to this object so that method calls can be chained together.
 *
 * @param internetGateways Information about one or more Internet gateways.
 *
 * @return A reference to this updated object so that method calls can be chained
 *         together.
 */
public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways) {
  if (getInternetGateways() == null) setInternetGateways(new java.util.ArrayList<InternetGateway>(internetGateways.length));
  for (InternetGateway value : internetGateways) {
    getInternetGateways().add(value);
  }
  return this;
}

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

/**
 * <p>
 * Information about one or more internet gateways.
 * </p>
 * 
 * @param internetGateways
 *        Information about one or more internet gateways.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DescribeInternetGatewaysResult withInternetGateways(java.util.Collection<InternetGateway> internetGateways) {
  setInternetGateways(internetGateways);
  return this;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * Information about one or more internet gateways.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setInternetGateways(java.util.Collection)} or {@link #withInternetGateways(java.util.Collection)} if you
 * want to override the existing values.
 * </p>
 * 
 * @param internetGateways
 *        Information about one or more internet gateways.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways) {
  if (this.internetGateways == null) {
    setInternetGateways(new com.amazonaws.internal.SdkInternalList<InternetGateway>(internetGateways.length));
  }
  for (InternetGateway ele : internetGateways) {
    this.internetGateways.add(ele);
  }
  return this;
}
com.amazonaws.services.ec2.modelDescribeInternetGatewaysResultsetInternetGateways

Javadoc

Information about one or more internet gateways.

Popular methods of DescribeInternetGatewaysResult

  • getInternetGateways
    Information about one or more internet gateways.
  • <init>
  • withInternetGateways
    Information about one or more internet gateways. NOTE: This method appends the values to the exist

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top plugins for WebStorm
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