Interface CreateConnectionRequest.Builder

    • Method Detail

      • location

        CreateConnectionRequest.Builder location​(String location)

        The location of the connection.

        Parameters:
        location - The location of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bandwidth

        CreateConnectionRequest.Builder bandwidth​(String bandwidth)

        The bandwidth of the connection.

        Parameters:
        bandwidth - The bandwidth of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionName

        CreateConnectionRequest.Builder connectionName​(String connectionName)

        The name of the connection.

        Parameters:
        connectionName - The name of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lagId

        CreateConnectionRequest.Builder lagId​(String lagId)

        The ID of the LAG.

        Parameters:
        lagId - The ID of the LAG.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags to associate with the lag.

        Parameters:
        tags - The tags to associate with the lag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectionRequest.Builder tags​(Tag... tags)

        The tags to associate with the lag.

        Parameters:
        tags - The tags to associate with the lag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags to associate with the lag.

        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)
      • providerName

        CreateConnectionRequest.Builder providerName​(String providerName)

        The name of the service provider associated with the requested connection.

        Parameters:
        providerName - The name of the service provider associated with the requested connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestMACSec

        CreateConnectionRequest.Builder requestMACSec​(Boolean requestMACSec)

        Indicates whether you want the connection to support MAC Security (MACsec).

        MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

        Parameters:
        requestMACSec - Indicates whether you want the connection to support MAC Security (MACsec).

        MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.