Interface Connection.Builder

  • Method Details

    • id

      The short identifier of the connection object.

      Parameters:
      id - The short identifier of the connection object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      An ARN of a Connection object.

      Parameters:
      arn - An ARN of a Connection object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Connection.Builder description(String description)

      A descriptive name for the connection.

      Parameters:
      description - A descriptive name for the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidth

      Connection.Builder bandwidth(String bandwidth)

      The specific selected bandwidth of this connection.

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

      Connection.Builder attachPoint(AttachPoint attachPoint)

      The Attach Point to which the connection should be associated."

      Parameters:
      attachPoint - The Attach Point to which the connection should be associated."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachPoint

      default Connection.Builder attachPoint(Consumer<AttachPoint.Builder> attachPoint)

      The Attach Point to which the connection should be associated."

      This is a convenience method that creates an instance of the AttachPoint.Builder avoiding the need to create one manually via AttachPoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachPoint(AttachPoint).

      Parameters:
      attachPoint - a consumer that will call methods on AttachPoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environmentId

      Connection.Builder environmentId(String environmentId)

      The specific Environment this connection is placed upon.

      Parameters:
      environmentId - The specific Environment this connection is placed upon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      Connection.Builder provider(Provider provider)

      The provider on the remote side of this Connection.

      Parameters:
      provider - The provider on the remote side of this Connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      default Connection.Builder provider(Consumer<Provider.Builder> provider)

      The provider on the remote side of this Connection.

      This is a convenience method that creates an instance of the Provider.Builder avoiding the need to create one manually via Provider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to provider(Provider).

      Parameters:
      provider - a consumer that will call methods on Provider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      Connection.Builder location(String location)

      The provider specific location on the remote side of this Connection

      Parameters:
      location - The provider specific location on the remote side of this Connection
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The specific product type of this Connection.

      Parameters:
      type - The specific product type of this Connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Connection.Builder state(String state)
      • requested: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.

      • pending: The connection has been accepted and is being provisioned between AWS and the Partner.

      • available: The connection has been fully provisioned between AWS and the Partner.

      • deleting: The connection is being deleted.

      • deleted: The connection has been deleted.

      • failed: The connection has failed to be created.

      • updating: The connection is being updated.

      Parameters:
      state -
    • requested: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.

    • pending: The connection has been accepted and is being provisioned between AWS and the Partner.

    • available: The connection has been fully provisioned between AWS and the Partner.

    • deleting: The connection is being deleted.

    • deleted: The connection has been deleted.

    • failed: The connection has failed to be created.

    • updating: The connection is being updated.

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

      • requested: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.

      • pending: The connection has been accepted and is being provisioned between AWS and the Partner.

      • available: The connection has been fully provisioned between AWS and the Partner.

      • deleting: The connection is being deleted.

      • deleted: The connection has been deleted.

      • failed: The connection has failed to be created.

      • updating: The connection is being updated.

      Parameters:
      state -
    • requested: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.

    • pending: The connection has been accepted and is being provisioned between AWS and the Partner.

    • available: The connection has been fully provisioned between AWS and the Partner.

    • deleting: The connection is being deleted.

    • deleted: The connection has been deleted.

    • failed: The connection has failed to be created.

    • updating: The connection is being updated.

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

      Connection.Builder sharedId(String sharedId)

      An identifier used by both AWS and the remote partner to identify the specific connection.

      Parameters:
      sharedId - An identifier used by both AWS and the remote partner to identify the specific connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingTier

      Connection.Builder billingTier(Integer billingTier)

      The billing tier this connection is currently assigned.

      Parameters:
      billingTier - The billing tier this connection is currently assigned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerAccount

      Connection.Builder ownerAccount(String ownerAccount)

      The account that owns this Connection

      Parameters:
      ownerAccount - The account that owns this Connection
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activationKey

      Connection.Builder activationKey(String activationKey)

      The Activation Key associated to this connection.

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

      The tags on the Connection

      Parameters:
      tags - The tags on the Connection
      Returns:
      Returns a reference to this object so that method calls can be chained together.