@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEgressOnlyInternetGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEgressOnlyInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEgressOnlyInternetGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<EgressOnlyInternetGateway> |
getEgressOnlyInternetGateways()
Information about the egress-only internet gateways.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setEgressOnlyInternetGateways(Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways)
Information about the egress-only internet gateways.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEgressOnlyInternetGatewaysResult |
withEgressOnlyInternetGateways(Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways)
Information about the egress-only internet gateways.
|
DescribeEgressOnlyInternetGatewaysResult |
withEgressOnlyInternetGateways(EgressOnlyInternetGateway... egressOnlyInternetGateways)
Information about the egress-only internet gateways.
|
DescribeEgressOnlyInternetGatewaysResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeEgressOnlyInternetGatewaysResult()
public List<EgressOnlyInternetGateway> getEgressOnlyInternetGateways()
Information about the egress-only internet gateways.
public void setEgressOnlyInternetGateways(Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways)
Information about the egress-only internet gateways.
egressOnlyInternetGateways
- Information about the egress-only internet gateways.public DescribeEgressOnlyInternetGatewaysResult withEgressOnlyInternetGateways(EgressOnlyInternetGateway... egressOnlyInternetGateways)
Information about the egress-only internet gateways.
NOTE: This method appends the values to the existing list (if any). Use
setEgressOnlyInternetGateways(java.util.Collection)
or
withEgressOnlyInternetGateways(java.util.Collection)
if you want to override the existing values.
egressOnlyInternetGateways
- Information about the egress-only internet gateways.public DescribeEgressOnlyInternetGatewaysResult withEgressOnlyInternetGateways(Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways)
Information about the egress-only internet gateways.
egressOnlyInternetGateways
- Information about the egress-only internet gateways.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeEgressOnlyInternetGatewaysResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeEgressOnlyInternetGatewaysResult clone()