Interface SecondarySubnet.Builder

    • Method Detail

      • secondarySubnetId

        SecondarySubnet.Builder secondarySubnetId​(String secondarySubnetId)

        The ID of the secondary subnet.

        Parameters:
        secondarySubnetId - The ID of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondarySubnetArn

        SecondarySubnet.Builder secondarySubnetArn​(String secondarySubnetArn)

        The Amazon Resource Name (ARN) of the secondary subnet.

        Parameters:
        secondarySubnetArn - The Amazon Resource Name (ARN) of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondaryNetworkId

        SecondarySubnet.Builder secondaryNetworkId​(String secondaryNetworkId)

        The ID of the secondary network.

        Parameters:
        secondaryNetworkId - The ID of the secondary network.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondaryNetworkType

        SecondarySubnet.Builder secondaryNetworkType​(String secondaryNetworkType)

        The type of the secondary network.

        Parameters:
        secondaryNetworkType - The type of the secondary network.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SecondaryNetworkType, SecondaryNetworkType
      • ownerId

        SecondarySubnet.Builder ownerId​(String ownerId)

        The ID of the Amazon Web Services account that owns the secondary subnet.

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

        SecondarySubnet.Builder availabilityZoneId​(String availabilityZoneId)

        The ID of the Availability Zone of the secondary subnet.

        Parameters:
        availabilityZoneId - The ID of the Availability Zone of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        SecondarySubnet.Builder availabilityZone​(String availabilityZone)

        The Availability Zone of the secondary subnet.

        Parameters:
        availabilityZone - The Availability Zone of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4CidrBlockAssociations

        SecondarySubnet.Builder ipv4CidrBlockAssociations​(Collection<SecondarySubnetIpv4CidrBlockAssociation> ipv4CidrBlockAssociations)

        Information about the IPv4 CIDR blocks associated with the secondary subnet.

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

        SecondarySubnet.Builder ipv4CidrBlockAssociations​(SecondarySubnetIpv4CidrBlockAssociation... ipv4CidrBlockAssociations)

        Information about the IPv4 CIDR blocks associated with the secondary subnet.

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

        SecondarySubnet.Builder stateReason​(String stateReason)

        The reason for the current state of the secondary subnet.

        Parameters:
        stateReason - The reason for the current state of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SecondarySubnet.Builder tags​(Collection<Tag> tags)

        The tags assigned to the secondary subnet.

        Parameters:
        tags - The tags assigned to the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SecondarySubnet.Builder tags​(Tag... tags)

        The tags assigned to the secondary subnet.

        Parameters:
        tags - The tags assigned to the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags assigned to the secondary subnet.

        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)