@Generated(value="software.amazon.awssdk:codegen") public class DescribeNatGatewaysResponse extends EC2Response implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>
Contains the output of DescribeNatGateways.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeNatGatewaysResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeNatGatewaysResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<NatGateway> |
natGateways()
Information about the NAT gateways.
|
String |
nextToken()
The token to use to retrieve the next page of results.
|
static Class<? extends DescribeNatGatewaysResponse.Builder> |
serializableBuilderClass() |
DescribeNatGatewaysResponse.Builder |
toBuilder() |
String |
toString() |
public List<NatGateway> natGateways()
Information about the NAT gateways.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
null when there are no
more results to return.public DescribeNatGatewaysResponse.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>toBuilder in class AwsResponsepublic static DescribeNatGatewaysResponse.Builder builder()
public static Class<? extends DescribeNatGatewaysResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2017. All rights reserved.