Interface GetTrafficDistributionResponse.Builder

  • Method Details

    • 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 the TelephonyConfig.Builder avoiding the need to create one manually via TelephonyConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to telephonyConfig(TelephonyConfig).

      Parameters:
      telephonyConfig - a consumer that will call methods on TelephonyConfig.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

      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 the SignInConfig.Builder avoiding the need to create one manually via SignInConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to signInConfig(SignInConfig).

      Parameters:
      signInConfig - a consumer that will call methods on SignInConfig.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

      The distribution of agents between the instance and its replica(s).

      This is a convenience method that creates an instance of the AgentConfig.Builder avoiding the need to create one manually via AgentConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentConfig(AgentConfig).

      Parameters:
      agentConfig - a consumer that will call methods on AgentConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastFailoverTime

      GetTrafficDistributionResponse.Builder lastFailoverTime(Instant lastFailoverTime)

      The timestamp of the most recent failover for the traffic distribution group. This value is updated each time UpdateTrafficDistribution is called to change the traffic distribution.

      Parameters:
      lastFailoverTime - The timestamp of the most recent failover for the traffic distribution group. This value is updated each time UpdateTrafficDistribution is called to change the traffic distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.