Interface CreateVoiceConnectorGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkVoiceRequest.Builder,CopyableBuilder<CreateVoiceConnectorGroupRequest.Builder,,CreateVoiceConnectorGroupRequest> SdkBuilder<CreateVoiceConnectorGroupRequest.Builder,,CreateVoiceConnectorGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVoiceConnectorGroupRequest
@Mutable
@NotThreadSafe
public static interface CreateVoiceConnectorGroupRequest.Builder
extends ChimeSdkVoiceRequest.Builder, SdkPojo, CopyableBuilder<CreateVoiceConnectorGroupRequest.Builder,CreateVoiceConnectorGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncallDistributionType(String callDistributionType) Sets the value of the CallDistributionType property for this object.callDistributionType(CallDistributionType callDistributionType) Sets the value of the CallDistributionType property for this object.The name of the Voice Connector group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.voiceConnectorItems(Collection<VoiceConnectorItem> voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.voiceConnectorItems(Consumer<VoiceConnectorItem.Builder>... voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.voiceConnectorItems(VoiceConnectorItem... voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the Voice Connector group.
- Parameters:
name- The name of the Voice Connector group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceConnectorItems
CreateVoiceConnectorGroupRequest.Builder voiceConnectorItems(Collection<VoiceConnectorItem> voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.
- Parameters:
voiceConnectorItems- Lists the Voice Connectors that inbound calls are routed to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceConnectorItems
CreateVoiceConnectorGroupRequest.Builder voiceConnectorItems(VoiceConnectorItem... voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.
- Parameters:
voiceConnectorItems- Lists the Voice Connectors that inbound calls are routed to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceConnectorItems
CreateVoiceConnectorGroupRequest.Builder voiceConnectorItems(Consumer<VoiceConnectorItem.Builder>... voiceConnectorItems) Lists the Voice Connectors that inbound calls are routed to.
This is a convenience method that creates an instance of theVoiceConnectorItem.Builderavoiding the need to create one manually viaVoiceConnectorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceConnectorItems(List<VoiceConnectorItem>).- Parameters:
voiceConnectorItems- a consumer that will call methods onVoiceConnectorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
callDistributionType
Sets the value of the CallDistributionType property for this object.- Parameters:
callDistributionType- The new value for the CallDistributionType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
callDistributionType
CreateVoiceConnectorGroupRequest.Builder callDistributionType(CallDistributionType callDistributionType) Sets the value of the CallDistributionType property for this object.- Parameters:
callDistributionType- The new value for the CallDistributionType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateVoiceConnectorGroupRequest.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
CreateVoiceConnectorGroupRequest.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.
-