Class AllocateAddressResult

    • Constructor Detail

      • AllocateAddressResult

        public AllocateAddressResult()
    • Method Detail

      • setPublicIp

        public void setPublicIp​(String publicIp)

        The Elastic IP address.

        Parameters:
        publicIp - The Elastic IP address.
      • getPublicIp

        public String getPublicIp()

        The Elastic IP address.

        Returns:
        The Elastic IP address.
      • withPublicIp

        public AllocateAddressResult withPublicIp​(String publicIp)

        The Elastic IP address.

        Parameters:
        publicIp - The Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomain

        public void setDomain​(String domain)

        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC ( vpc).

        Parameters:
        domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
        See Also:
        DomainType
      • getDomain

        public String getDomain()

        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC ( vpc).

        Returns:
        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
        See Also:
        DomainType
      • withDomain

        public AllocateAddressResult withDomain​(String domain)

        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC ( vpc).

        Parameters:
        domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainType
      • setDomain

        public void setDomain​(DomainType domain)

        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC ( vpc).

        Parameters:
        domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
        See Also:
        DomainType
      • withDomain

        public AllocateAddressResult withDomain​(DomainType domain)

        Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC ( vpc).

        Parameters:
        domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainType
      • setAllocationId

        public void setAllocationId​(String allocationId)

        [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

        Parameters:
        allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
      • getAllocationId

        public String getAllocationId()

        [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

        Returns:
        [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
      • withAllocationId

        public AllocateAddressResult withAllocationId​(String allocationId)

        [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

        Parameters:
        allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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