Interface AllocateHostedConnectionRequest.Builder

  • Method Details

    • connectionId

      AllocateHostedConnectionRequest.Builder connectionId(String connectionId)

      The ID of the interconnect or LAG.

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

      AllocateHostedConnectionRequest.Builder ownerAccount(String ownerAccount)

      The ID of the Amazon Web Services account ID of the customer for the connection.

      Parameters:
      ownerAccount - The ID of the Amazon Web Services account ID of the customer for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidth

      The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection.

      Parameters:
      bandwidth - The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionName

      AllocateHostedConnectionRequest.Builder connectionName(String connectionName)

      The name of the hosted connection.

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

      The dedicated VLAN provisioned to the hosted connection.

      Parameters:
      vlan - The dedicated VLAN provisioned to the hosted connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the connection.

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

      The tags associated with the connection.

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

      The tags associated with the connection.

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

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