Interface GetTrafficDistributionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<GetTrafficDistributionResponse.Builder,
,GetTrafficDistributionResponse> SdkBuilder<GetTrafficDistributionResponse.Builder,
,GetTrafficDistributionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTrafficDistributionResponse
-
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 Amazon Resource Name (ARN) of the traffic distribution group.The identifier of the traffic distribution group.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 replicas.telephonyConfig
(TelephonyConfig telephonyConfig) The distribution of traffic between the instance and its replicas.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
telephonyConfig
The distribution of traffic between the instance and its replicas.
- Parameters:
telephonyConfig
- The distribution of traffic between the instance and its replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephonyConfig
default GetTrafficDistributionResponse.Builder telephonyConfig(Consumer<TelephonyConfig.Builder> telephonyConfig) The distribution of traffic between the instance and its replicas.
This is a convenience method that creates an instance of theTelephonyConfig.Builder
avoiding the need to create one manually viaTelephonyConfig.builder()
.When the
Consumer
completes,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:
-
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.
-
arn
The Amazon Resource Name (ARN) of the traffic distribution group.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the traffic distribution group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 GetTrafficDistributionResponse.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.Builder
avoiding the need to create one manually viaSignInConfig.builder()
.When the
Consumer
completes,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 GetTrafficDistributionResponse.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.Builder
avoiding the need to create one manually viaAgentConfig.builder()
.When the
Consumer
completes,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:
-