Interface CreateLagRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>, DirectConnectRequest.Builder, SdkBuilder<CreateLagRequest.Builder,CreateLagRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateLagRequest

public static interface CreateLagRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>
  • Method Details

    • 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

      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

      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

      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<Tag>).

      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:
    • 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<Tag>).

      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:
    • 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.
    • overrideConfiguration

      CreateLagRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.