@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInternetGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeInternetGatewaysResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeInternetGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<InternetGateway> |
getInternetGateways()
Information about one or more internet gateways.
|
int |
hashCode() |
void |
setInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInternetGatewaysResult |
withInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.
|
DescribeInternetGatewaysResult |
withInternetGateways(InternetGateway... internetGateways)
Information about one or more internet gateways.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<InternetGateway> getInternetGateways()
Information about one or more internet gateways.
public void setInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.
internetGateways - Information about one or more internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Information about one or more internet gateways.
NOTE: This method appends the values to the existing list (if any). Use
setInternetGateways(java.util.Collection) or withInternetGateways(java.util.Collection) if you
want to override the existing values.
internetGateways - Information about one or more internet gateways.public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more internet gateways.
internetGateways - Information about one or more internet gateways.public String toString()
toString in class ObjectObject.toString()public DescribeInternetGatewaysResult clone()
Copyright © 2018. All rights reserved.