Interface GetTrafficDistributionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>,SdkBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTrafficDistributionResponse
public static interface GetTrafficDistributionResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTrafficDistributionResponse.BuilderagentConfig(Consumer<AgentConfig.Builder> agentConfig)The distribution of agents between the instance and its replica(s).GetTrafficDistributionResponse.BuilderagentConfig(AgentConfig agentConfig)The distribution of agents between the instance and its replica(s).GetTrafficDistributionResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the traffic distribution group.GetTrafficDistributionResponse.Builderid(String id)The identifier of the traffic distribution group.default GetTrafficDistributionResponse.BuildersignInConfig(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).GetTrafficDistributionResponse.BuildersignInConfig(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).default GetTrafficDistributionResponse.BuildertelephonyConfig(Consumer<TelephonyConfig.Builder> telephonyConfig)The distribution of traffic between the instance and its replicas.GetTrafficDistributionResponse.BuildertelephonyConfig(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 Detail
-
telephonyConfig
GetTrafficDistributionResponse.Builder telephonyConfig(TelephonyConfig 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.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:
telephonyConfig(TelephonyConfig)
-
id
GetTrafficDistributionResponse.Builder id(String 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
GetTrafficDistributionResponse.Builder arn(String 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
GetTrafficDistributionResponse.Builder 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).
- 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.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:
signInConfig(SignInConfig)
-
agentConfig
GetTrafficDistributionResponse.Builder agentConfig(AgentConfig 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.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:
agentConfig(AgentConfig)
-
-