Interface UpdateTrafficDistributionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateTrafficDistributionRequest.Builder,,UpdateTrafficDistributionRequest> SdkBuilder<UpdateTrafficDistributionRequest.Builder,,UpdateTrafficDistributionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTrafficDistributionRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentConfig(Consumer<AgentConfig.Builder> agentConfig) The distribution of agents between the instance and its replica(s).agentConfig(AgentConfig agentConfig) The distribution of agents between the instance and its replica(s).The identifier of the traffic distribution group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.signInConfig(Consumer<SignInConfig.Builder> signInConfig) The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).signInConfig(SignInConfig signInConfig) The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).telephonyConfig(Consumer<TelephonyConfig.Builder> telephonyConfig) The distribution of traffic between the instance and its replica(s).telephonyConfig(TelephonyConfig telephonyConfig) The distribution of traffic between the instance and its replica(s).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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
-
id
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- Parameters:
id- The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephonyConfig
The distribution of traffic between the instance and its replica(s).
- Parameters:
telephonyConfig- The distribution of traffic between the instance and its replica(s).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephonyConfig
default UpdateTrafficDistributionRequest.Builder telephonyConfig(Consumer<TelephonyConfig.Builder> telephonyConfig) The distribution of traffic between the instance and its replica(s).
This is a convenience method that creates an instance of theTelephonyConfig.Builderavoiding the need to create one manually viaTelephonyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totelephonyConfig(TelephonyConfig).- Parameters:
telephonyConfig- a consumer that will call methods onTelephonyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signInConfig
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
- Parameters:
signInConfig- The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signInConfig
default UpdateTrafficDistributionRequest.Builder signInConfig(Consumer<SignInConfig.Builder> signInConfig) The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
This is a convenience method that creates an instance of theSignInConfig.Builderavoiding the need to create one manually viaSignInConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignInConfig(SignInConfig).- Parameters:
signInConfig- a consumer that will call methods onSignInConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentConfig
The distribution of agents between the instance and its replica(s).
- Parameters:
agentConfig- The distribution of agents between the instance and its replica(s).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentConfig
default UpdateTrafficDistributionRequest.Builder agentConfig(Consumer<AgentConfig.Builder> agentConfig) The distribution of agents between the instance and its replica(s).
This is a convenience method that creates an instance of theAgentConfig.Builderavoiding the need to create one manually viaAgentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentConfig(AgentConfig).- Parameters:
agentConfig- a consumer that will call methods onAgentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateTrafficDistributionRequest.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
UpdateTrafficDistributionRequest.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.
-