Interface Vpc.Builder

    • Method Detail

      • cidrBlock

        Vpc.Builder cidrBlock​(String cidrBlock)

        The primary IPv4 CIDR block for the VPC.

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

        Vpc.Builder dhcpOptionsId​(String dhcpOptionsId)

        The ID of the set of DHCP options you've associated with the VPC.

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

        Vpc.Builder state​(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, VpcState
      • state

        Vpc.Builder state​(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, VpcState
      • vpcId

        Vpc.Builder vpcId​(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.
      • ownerId

        Vpc.Builder ownerId​(String ownerId)

        The ID of the Amazon Web Services account that owns the VPC.

        Parameters:
        ownerId - The ID of the Amazon Web Services account that owns the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceTenancy

        Vpc.Builder instanceTenancy​(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, Tenancy
      • instanceTenancy

        Vpc.Builder instanceTenancy​(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, Tenancy
      • ipv6CidrBlockAssociationSet

        Vpc.Builder ipv6CidrBlockAssociationSet​(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)

        Information about the IPv6 CIDR blocks associated with the VPC.

        Parameters:
        ipv6CidrBlockAssociationSet - Information about the IPv6 CIDR blocks associated with the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6CidrBlockAssociationSet

        Vpc.Builder ipv6CidrBlockAssociationSet​(VpcIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)

        Information about the IPv6 CIDR blocks associated with the VPC.

        Parameters:
        ipv6CidrBlockAssociationSet - Information about the IPv6 CIDR blocks associated with the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrBlockAssociationSet

        Vpc.Builder cidrBlockAssociationSet​(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)

        Information about the IPv4 CIDR blocks associated with the VPC.

        Parameters:
        cidrBlockAssociationSet - Information about the IPv4 CIDR blocks associated with the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrBlockAssociationSet

        Vpc.Builder cidrBlockAssociationSet​(VpcCidrBlockAssociation... cidrBlockAssociationSet)

        Information about the IPv4 CIDR blocks associated with the VPC.

        Parameters:
        cidrBlockAssociationSet - Information about the IPv4 CIDR blocks associated with the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDefault

        Vpc.Builder isDefault​(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.
      • tags

        Vpc.Builder tags​(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.
      • tags

        Vpc.Builder tags​(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.
      • tags

        Vpc.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the VPC.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)