Class Vpc

    • Constructor Detail

      • Vpc

        public Vpc()
    • 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 Vpc 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.
      • setState

        public void setState​(String state)

        The current state of the VPC.

        Parameters:
        state - The current state of the VPC.
        See Also:
        VpcState
      • getState

        public String getState()

        The current state of the VPC.

        Returns:
        The current state of the VPC.
        See Also:
        VpcState
      • withState

        public Vpc withState​(String state)

        The current state of the VPC.

        Parameters:
        state - The current state of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VpcState
      • setState

        public void setState​(VpcState state)

        The current state of the VPC.

        Parameters:
        state - The current state of the VPC.
        See Also:
        VpcState
      • withState

        public Vpc withState​(VpcState state)

        The current state of the VPC.

        Parameters:
        state - The current state of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VpcState
      • setCidrBlock

        public void setCidrBlock​(String cidrBlock)

        The CIDR block for the VPC.

        Parameters:
        cidrBlock - The CIDR block for the VPC.
      • getCidrBlock

        public String getCidrBlock()

        The CIDR block for the VPC.

        Returns:
        The CIDR block for the VPC.
      • withCidrBlock

        public Vpc withCidrBlock​(String cidrBlock)

        The CIDR block for the VPC.

        Parameters:
        cidrBlock - The CIDR block for the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDhcpOptionsId

        public void setDhcpOptionsId​(String dhcpOptionsId)

        The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).

        Parameters:
        dhcpOptionsId - The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).
      • getDhcpOptionsId

        public String getDhcpOptionsId()

        The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).

        Returns:
        The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).
      • withDhcpOptionsId

        public Vpc withDhcpOptionsId​(String dhcpOptionsId)

        The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).

        Parameters:
        dhcpOptionsId - The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        Any tags assigned to the VPC.

        Returns:
        Any tags assigned to the VPC.
      • setTags

        public void setTags​(Collection<Tag> tags)

        Any tags assigned to the VPC.

        Parameters:
        tags - Any tags assigned to the VPC.
      • withTags

        public Vpc withTags​(Tag... tags)

        Any tags assigned to the VPC.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - Any tags assigned to the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public Vpc withTags​(Collection<Tag> tags)

        Any tags assigned to the VPC.

        Parameters:
        tags - Any tags assigned to the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceTenancy

        public void setInstanceTenancy​(String instanceTenancy)

        The allowed tenancy of instances launched into the VPC.

        Parameters:
        instanceTenancy - The allowed tenancy of instances launched into the VPC.
        See Also:
        Tenancy
      • getInstanceTenancy

        public String getInstanceTenancy()

        The allowed tenancy of instances launched into the VPC.

        Returns:
        The allowed tenancy of instances launched into the VPC.
        See Also:
        Tenancy
      • withInstanceTenancy

        public Vpc withInstanceTenancy​(String instanceTenancy)

        The allowed tenancy of instances launched into the VPC.

        Parameters:
        instanceTenancy - The allowed tenancy of instances launched into the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • setInstanceTenancy

        public void setInstanceTenancy​(Tenancy instanceTenancy)

        The allowed tenancy of instances launched into the VPC.

        Parameters:
        instanceTenancy - The allowed tenancy of instances launched into the VPC.
        See Also:
        Tenancy
      • withInstanceTenancy

        public Vpc withInstanceTenancy​(Tenancy instanceTenancy)

        The allowed tenancy of instances launched into the VPC.

        Parameters:
        instanceTenancy - The allowed tenancy of instances launched into the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tenancy
      • setIsDefault

        public void setIsDefault​(Boolean isDefault)

        Indicates whether the VPC is the default VPC.

        Parameters:
        isDefault - Indicates whether the VPC is the default VPC.
      • getIsDefault

        public Boolean getIsDefault()

        Indicates whether the VPC is the default VPC.

        Returns:
        Indicates whether the VPC is the default VPC.
      • withIsDefault

        public Vpc withIsDefault​(Boolean isDefault)

        Indicates whether the VPC is the default VPC.

        Parameters:
        isDefault - Indicates whether the VPC is the default VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDefault

        public Boolean isDefault()

        Indicates whether the VPC is the default VPC.

        Returns:
        Indicates whether the VPC is the default VPC.
      • 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