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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionAlias.BuilderaliasId(String aliasId)The identifier of the connection alias.ConnectionAlias.Builderassociations(Collection<ConnectionAliasAssociation> associations)The association status of the connection alias.ConnectionAlias.Builderassociations(Consumer<ConnectionAliasAssociation.Builder>... associations)The association status of the connection alias.ConnectionAlias.Builderassociations(ConnectionAliasAssociation... associations)The association status of the connection alias.ConnectionAlias.BuilderconnectionString(String connectionString)The connection string specified for the connection alias.ConnectionAlias.BuilderownerAccountId(String ownerAccountId)The identifier of the Amazon Web Services account that owns the connection alias.ConnectionAlias.Builderstate(String state)The current state of the connection alias.ConnectionAlias.Builderstate(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 Detail
-
connectionString
ConnectionAlias.Builder connectionString(String 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
ConnectionAlias.Builder aliasId(String 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
ConnectionAlias.Builder state(String 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:
ConnectionAliasState,ConnectionAliasState
-
state
ConnectionAlias.Builder state(ConnectionAliasState 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:
ConnectionAliasState,ConnectionAliasState
-
ownerAccountId
ConnectionAlias.Builder ownerAccountId(String 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
ConnectionAlias.Builder associations(Collection<ConnectionAliasAssociation> 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
ConnectionAlias.Builder associations(ConnectionAliasAssociation... 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
ConnectionAlias.Builder associations(Consumer<ConnectionAliasAssociation.Builder>... associations)
The association status of the connection alias.
This is a convenience method that creates an instance of theConnectionAliasAssociation.Builderavoiding the need to create one manually viaConnectionAliasAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associations(List.) - 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:
#associations(java.util.Collection)
-
-