Interface CreateVoiceConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkVoiceRequest.Builder,CopyableBuilder<CreateVoiceConnectorRequest.Builder,,CreateVoiceConnectorRequest> SdkBuilder<CreateVoiceConnectorRequest.Builder,,CreateVoiceConnectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVoiceConnectorRequest
public static interface CreateVoiceConnectorRequest.Builder
extends ChimeSdkVoiceRequest.Builder, SdkPojo, CopyableBuilder<CreateVoiceConnectorRequest.Builder,CreateVoiceConnectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe AWS Region in which the Amazon Chime SDK Voice Connector is created.awsRegion(VoiceConnectorAwsRegion awsRegion) The AWS Region in which the Amazon Chime SDK Voice Connector is created.The name of the Voice Connector.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requireEncryption(Boolean requireEncryption) Enables or disables encryption for the Voice Connector.tags(Collection<Tag> tags) The tags assigned to the Voice Connector.tags(Consumer<Tag.Builder>... tags) The tags assigned to the Voice Connector.The tags assigned to the Voice Connector.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
name
The name of the Voice Connector.
- Parameters:
name- The name of the Voice Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value:
us-east-1.- Parameters:
awsRegion- The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value:us-east-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsRegion
The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value:
us-east-1.- Parameters:
awsRegion- The AWS Region in which the Amazon Chime SDK Voice Connector is created. Default value:us-east-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requireEncryption
Enables or disables encryption for the Voice Connector.
- Parameters:
requireEncryption- Enables or disables encryption for the Voice Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Voice Connector.
- Parameters:
tags- The tags assigned to the Voice Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Voice Connector.
- Parameters:
tags- The tags assigned to the Voice Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Voice Connector.
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
CreateVoiceConnectorRequest.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
CreateVoiceConnectorRequest.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.
-