Class DescribeVpcAttributeResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>

@Generated("software.amazon.awssdk:codegen") public final class DescribeVpcAttributeResponse extends Ec2Response implements ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
  • Method Details

    • enableDnsHostnames

      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.

      Returns:
      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.
    • enableDnsSupport

      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.

      Returns:
      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.
    • enableNetworkAddressUsageMetrics

      public final AttributeBooleanValue enableNetworkAddressUsageMetrics()

      Indicates whether Network Address Usage metrics are enabled for your VPC.

      Returns:
      Indicates whether Network Address Usage metrics are enabled for your VPC.
    • vpcId

      public final String vpcId()

      The ID of the VPC.

      Returns:
      The ID of the VPC.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static DescribeVpcAttributeResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DescribeVpcAttributeResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo