@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 use to retrieve the next page of results.
|
int |
hashCode() |
void |
setEgressOnlyInternetGateways(Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways)
Information about the egress-only internet gateways.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 use to retrieve the next page of results.
|
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 use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeEgressOnlyInternetGatewaysResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeEgressOnlyInternetGatewaysResult clone()