Interface ConnectionAlias.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectionAlias.Builder,
,ConnectionAlias> SdkBuilder<ConnectionAlias.Builder,
,ConnectionAlias> SdkPojo
- Enclosing class:
ConnectionAlias
public static interface ConnectionAlias.Builder
extends SdkPojo, CopyableBuilder<ConnectionAlias.Builder,ConnectionAlias>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the connection alias.associations
(Collection<ConnectionAliasAssociation> associations) The association status of the connection alias.associations
(Consumer<ConnectionAliasAssociation.Builder>... associations) The association status of the connection alias.associations
(ConnectionAliasAssociation... associations) The association status of the connection alias.connectionString
(String connectionString) The connection string specified for the connection alias.ownerAccountId
(String ownerAccountId) The identifier of the Amazon Web Services account that owns the connection alias.The current state of the connection alias.state
(ConnectionAliasState state) The current state of the connection alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectionString
The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as
www.example.com
.- Parameters:
connectionString
- The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such aswww.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliasId
The identifier of the connection alias.
- Parameters:
aliasId
- The identifier of the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the connection alias.
- Parameters:
state
- The current state of the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the connection alias.
- Parameters:
state
- The current state of the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerAccountId
The identifier of the Amazon Web Services account that owns the connection alias.
- Parameters:
ownerAccountId
- The identifier of the Amazon Web Services account that owns the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The association status of the connection alias.
- Parameters:
associations
- The association status of the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The association status of the connection alias.
- Parameters:
associations
- The association status of the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The association status of the connection alias.
This is a convenience method that creates an instance of theConnectionAliasAssociation.Builder
avoiding the need to create one manually viaConnectionAliasAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<ConnectionAliasAssociation>)
.- Parameters:
associations
- a consumer that will call methods onConnectionAliasAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-