Interface Connection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Connection.Builder,,Connection> SdkBuilder<Connection.Builder,,Connection> SdkPojo
- Enclosing class:
Connection
-
Method Summary
Modifier and TypeMethodDescriptionactivationKey(String activationKey) The Activation Key associated to this connection.An ARN of a Connection object.default Connection.BuilderattachPoint(Consumer<AttachPoint.Builder> attachPoint) The Attach Point to which the connection should be associated."attachPoint(AttachPoint attachPoint) The Attach Point to which the connection should be associated."The specific selected bandwidth of this connection.billingTier(Integer billingTier) The billing tier this connection is currently assigned.description(String description) A descriptive name for the connection.environmentId(String environmentId) The specific Environment this connection is placed upon.The short identifier of the connection object.The provider specific location on the remote side of this ConnectionownerAccount(String ownerAccount) The account that owns this Connectiondefault Connection.Builderprovider(Consumer<Provider.Builder> provider) The provider on the remote side of this Connection.The provider on the remote side of this Connection.An identifier used by both AWS and the remote partner to identify the specific connection.state(ConnectionState state) The tags on the ConnectionThe specific product type of this Connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
The Attach Point to which the connection should be associated."
This is a convenience method that creates an instance of theAttachPoint.Builderavoiding the need to create one manually viaAttachPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachPoint(AttachPoint).- Parameters:
attachPoint- a consumer that will call methods onAttachPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The provider on the remote side of this Connection.
This is a convenience method that creates an instance of theProvider.Builderavoiding the need to create one manually viaProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(Provider).- Parameters:
provider- a consumer that will call methods onProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
-
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:
-
-
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
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
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.
-