Interface CreateConnectionAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionAliasRequest.Builder,,CreateConnectionAliasRequest> SdkBuilder<CreateConnectionAliasRequest.Builder,,CreateConnectionAliasRequest> SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
CreateConnectionAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectionString(String connectionString) A connection string in the form of a fully qualified domain name (FQDN), such aswww.example.com.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to associate with the connection alias.tags(Consumer<Tag.Builder>... tags) The tags to associate with the connection alias.The tags to associate with the connection alias.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
Method Details
-
connectionString
A connection string in the form of a fully qualified domain name (FQDN), such as
www.example.com.After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.
- Parameters:
connectionString- A connection string in the form of a fully qualified domain name (FQDN), such aswww.example.com.After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the connection alias.
- Parameters:
tags- The tags to associate with the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the connection alias.
- Parameters:
tags- The tags to associate with the connection alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the connection alias.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectionAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectionAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-