Interface Vpc.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Vpc.Builder,Vpc>, SdkBuilder<Vpc.Builder,Vpc>, SdkPojo
Enclosing class:
Vpc

public static interface Vpc.Builder extends SdkPojo, CopyableBuilder<Vpc.Builder,Vpc>
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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.
    • ipv6CidrBlockAssociationSet

      Vpc.Builder ipv6CidrBlockAssociationSet(Consumer<VpcIpv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet)

      Information about the IPv6 CIDR blocks associated with the VPC.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ipv6CidrBlockAssociationSet(List<VpcIpv6CidrBlockAssociation>).

      Parameters:
      ipv6CidrBlockAssociationSet - a consumer that will call methods on VpcIpv6CidrBlockAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • cidrBlockAssociationSet

      Vpc.Builder cidrBlockAssociationSet(Consumer<VpcCidrBlockAssociation.Builder>... cidrBlockAssociationSet)

      Information about the IPv4 CIDR blocks associated with the VPC.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cidrBlockAssociationSet(List<VpcCidrBlockAssociation>).

      Parameters:
      cidrBlockAssociationSet - a consumer that will call methods on VpcCidrBlockAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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<Tag>).

      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: