@Generated(value="software.amazon.awssdk:codegen") public class DescribeVpcAttributeResponse extends EC2Response implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
Contains the output of DescribeVpcAttribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeVpcAttributeResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeVpcAttributeResponse.Builder |
builder() |
Boolean |
enableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
Boolean |
enableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends DescribeVpcAttributeResponse.Builder> |
serializableBuilderClass() |
DescribeVpcAttributeResponse.Builder |
toBuilder() |
String |
toString() |
String |
vpcId()
The ID of the VPC.
|
public String vpcId()
The ID of the VPC.
public Boolean enableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true,
instances in the VPC get DNS hostnames; otherwise, they do not.
true, instances in the VPC get DNS hostnames; otherwise, they do not.public Boolean enableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS
server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
true, the
Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public DescribeVpcAttributeResponse.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>toBuilder in class AwsResponsepublic static DescribeVpcAttributeResponse.Builder builder()
public static Class<? extends DescribeVpcAttributeResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2018. All rights reserved.