Class ModifyVpcAttributeRequest

    • Constructor Detail

      • ModifyVpcAttributeRequest

        public ModifyVpcAttributeRequest()
    • Method Detail

      • 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 ModifyVpcAttributeRequest 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 the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

        Parameters:
        enableDnsSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

      • getEnableDnsSupport

        public Boolean getEnableDnsSupport()

        Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

        Returns:
        Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

      • withEnableDnsSupport

        public ModifyVpcAttributeRequest withEnableDnsSupport​(Boolean enableDnsSupport)

        Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

        Parameters:
        enableDnsSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnableDnsSupport

        public Boolean isEnableDnsSupport()

        Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

        Returns:
        Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

      • setEnableDnsHostnames

        public void setEnableDnsHostnames​(Boolean enableDnsHostnames)

        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

        Parameters:
        enableDnsHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

      • getEnableDnsHostnames

        public Boolean getEnableDnsHostnames()

        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

        Returns:
        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

      • withEnableDnsHostnames

        public ModifyVpcAttributeRequest withEnableDnsHostnames​(Boolean enableDnsHostnames)

        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

        Parameters:
        enableDnsHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

        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 enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

        Returns:
        Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

        You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object