Interface SecondaryNetwork.Builder

    • Method Detail

      • secondaryNetworkId

        SecondaryNetwork.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.
      • secondaryNetworkArn

        SecondaryNetwork.Builder secondaryNetworkArn​(String secondaryNetworkArn)

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

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

        SecondaryNetwork.Builder ownerId​(String ownerId)

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

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

        SecondaryNetwork.Builder stateReason​(String stateReason)

        The reason for the current state of the secondary network.

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

        SecondaryNetwork.Builder ipv4CidrBlockAssociations​(Collection<SecondaryNetworkIpv4CidrBlockAssociation> ipv4CidrBlockAssociations)

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

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

        SecondaryNetwork.Builder ipv4CidrBlockAssociations​(SecondaryNetworkIpv4CidrBlockAssociation... ipv4CidrBlockAssociations)

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

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

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

        The tags assigned to the secondary network.

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

        SecondaryNetwork.Builder tags​(Tag... tags)

        The tags assigned to the secondary network.

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

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

        The tags assigned to the secondary network.

        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)