Interface VpnConcentrator.Builder

    • Method Detail

      • vpnConcentratorId

        VpnConcentrator.Builder vpnConcentratorId​(String vpnConcentratorId)

        The ID of the VPN concentrator.

        Parameters:
        vpnConcentratorId - The ID of the VPN concentrator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        VpnConcentrator.Builder state​(String state)

        The current state of the VPN concentrator.

        Parameters:
        state - The current state of the VPN concentrator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transitGatewayId

        VpnConcentrator.Builder transitGatewayId​(String transitGatewayId)

        The ID of the transit gateway associated with the VPN concentrator.

        Parameters:
        transitGatewayId - The ID of the transit gateway associated with the VPN concentrator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transitGatewayAttachmentId

        VpnConcentrator.Builder transitGatewayAttachmentId​(String transitGatewayAttachmentId)

        The ID of the transit gateway attachment for the VPN concentrator.

        Parameters:
        transitGatewayAttachmentId - The ID of the transit gateway attachment for the VPN concentrator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        VpnConcentrator.Builder type​(String type)

        The type of VPN concentrator.

        Parameters:
        type - The type of VPN concentrator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Any tags assigned to the VPN concentrator.

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

        VpnConcentrator.Builder tags​(Tag... tags)

        Any tags assigned to the VPN concentrator.

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

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

        Any tags assigned to the VPN concentrator.

        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)