Class GetTrafficDistributionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.connect.model.ConnectResponse
-
- software.amazon.awssdk.services.connect.model.GetTrafficDistributionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetTrafficDistributionResponse extends ConnectResponse implements ToCopyableBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetTrafficDistributionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentConfigagentConfig()The distribution of agents between the instance and its replica(s).Stringarn()The Amazon Resource Name (ARN) of the traffic distribution group.static GetTrafficDistributionResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the traffic distribution group.List<SdkField<?>>sdkFields()static Class<? extends GetTrafficDistributionResponse.Builder>serializableBuilderClass()SignInConfigsignInConfig()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).TelephonyConfigtelephonyConfig()The distribution of traffic between the instance and its replicas.GetTrafficDistributionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.connect.model.ConnectResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
telephonyConfig
public final TelephonyConfig telephonyConfig()
The distribution of traffic between the instance and its replicas.
- Returns:
- The distribution of traffic between the instance and its replicas.
-
id
public final 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.
- Returns:
- 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.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the traffic distribution group.
- Returns:
- The Amazon Resource Name (ARN) of the traffic distribution group.
-
signInConfig
public final 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).
- Returns:
- 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).
-
agentConfig
public final AgentConfig agentConfig()
The distribution of agents between the instance and its replica(s).
- Returns:
- The distribution of agents between the instance and its replica(s).
-
toBuilder
public GetTrafficDistributionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTrafficDistributionResponse.Builder,GetTrafficDistributionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetTrafficDistributionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetTrafficDistributionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-