Interface CreateLagRequest.Builder

    • Method Detail

      • numberOfConnections

        CreateLagRequest.Builder numberOfConnections​(Integer numberOfConnections)

        The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G.

        Parameters:
        numberOfConnections - The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        CreateLagRequest.Builder location​(String location)

        The location for the LAG.

        Parameters:
        location - The location for the LAG.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionsBandwidth

        CreateLagRequest.Builder connectionsBandwidth​(String connectionsBandwidth)

        The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.

        Parameters:
        connectionsBandwidth - The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lagName

        CreateLagRequest.Builder lagName​(String lagName)

        The name of the LAG.

        Parameters:
        lagName - The name of the LAG.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionId

        CreateLagRequest.Builder connectionId​(String connectionId)

        The ID of an existing dedicated connection to migrate to the LAG.

        Parameters:
        connectionId - The ID of an existing dedicated connection to migrate to the LAG.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLagRequest.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

        CreateLagRequest.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

        CreateLagRequest.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)
      • childConnectionTags

        CreateLagRequest.Builder childConnectionTags​(Collection<Tag> childConnectionTags)

        The tags to associate with the automtically created LAGs.

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

        CreateLagRequest.Builder childConnectionTags​(Tag... childConnectionTags)

        The tags to associate with the automtically created LAGs.

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

        CreateLagRequest.Builder childConnectionTags​(Consumer<Tag.Builder>... childConnectionTags)

        The tags to associate with the automtically created LAGs.

        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 #childConnectionTags(List).

        Parameters:
        childConnectionTags - 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:
        #childConnectionTags(java.util.Collection)
      • providerName

        CreateLagRequest.Builder providerName​(String providerName)

        The name of the service provider associated with the LAG.

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

        CreateLagRequest.Builder requestMACSec​(Boolean requestMACSec)

        Indicates whether the connection will support MAC Security (MACsec).

        All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.

        Parameters:
        requestMACSec - Indicates whether the connection will support MAC Security (MACsec).

        All connections in the LAG must be capable of supporting MAC Security (MACsec). 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.