@Generated(value="software.amazon.awssdk:codegen") public final class DescribeVpcAttributeResponse extends Ec2Response implements ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeVpcAttributeResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeVpcAttributeResponse.Builder |
builder() |
AttributeBooleanValue |
enableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
AttributeBooleanValue |
enableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeVpcAttributeResponse.Builder> |
serializableBuilderClass() |
DescribeVpcAttributeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String vpcId()
The ID of the VPC.
public final AttributeBooleanValue 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 final AttributeBooleanValue 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 ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
toBuilder
in class AwsResponse
public static DescribeVpcAttributeResponse.Builder builder()
public static Class<? extends DescribeVpcAttributeResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.