Class DescribeVpcAttributeResult

java.lang.Object
com.amazonaws.services.ec2.model.DescribeVpcAttributeResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeVpcAttributeResult extends Object implements Serializable, Cloneable

Contains the output of DescribeVpcAttribute.

See Also:
  • Constructor Details

    • DescribeVpcAttributeResult

      public DescribeVpcAttributeResult()
  • Method Details

    • setVpcId

      public void setVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
    • getVpcId

      public String getVpcId()

      The ID of the VPC.

      Returns:
      The ID of the VPC.
    • withVpcId

      public DescribeVpcAttributeResult withVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEnableDnsSupport

      public void setEnableDnsSupport(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.

      Parameters:
      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.
    • getEnableDnsSupport

      public Boolean getEnableDnsSupport()

      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.
    • withEnableDnsSupport

      public DescribeVpcAttributeResult withEnableDnsSupport(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • isEnableDnsSupport

      public Boolean isEnableDnsSupport()

      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.
    • setEnableDnsHostnames

      public void setEnableDnsHostnames(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.

      Parameters:
      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.
    • getEnableDnsHostnames

      public Boolean getEnableDnsHostnames()

      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.
    • withEnableDnsHostnames

      public DescribeVpcAttributeResult withEnableDnsHostnames(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • isEnableDnsHostnames

      public Boolean isEnableDnsHostnames()

      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.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object