Interface RegionalEndpoint.Builder

  • Method Details

    • domainName

      RegionalEndpoint.Builder domainName(String domainName)

      The domain name of the regional endpoint.

      Parameters:
      domainName - The domain name of the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authType

      RegionalEndpoint.Builder authType(String authType)

      The authorization type for the regional endpoint.

      Parameters:
      authType - The authorization type for the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authType

      RegionalEndpoint.Builder authType(AuthType authType)

      The authorization type for the regional endpoint.

      Parameters:
      authType - The authorization type for the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • revisionWeights

      RegionalEndpoint.Builder revisionWeights(Collection<RevisionWeight> revisionWeights)

      The revision weights for the regional endpoint.

      Parameters:
      revisionWeights - The revision weights for the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionWeights

      RegionalEndpoint.Builder revisionWeights(RevisionWeight... revisionWeights)

      The revision weights for the regional endpoint.

      Parameters:
      revisionWeights - The revision weights for the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionWeights

      RegionalEndpoint.Builder revisionWeights(Consumer<RevisionWeight.Builder>... revisionWeights)

      The revision weights for the regional endpoint.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to revisionWeights(List<RevisionWeight>).

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

      RegionalEndpoint.Builder scalingConfig(ScalingConfig scalingConfig)

      The scaling configuration for the regional endpoint. This field is absent if the endpoint has no scaling configuration.

      Parameters:
      scalingConfig - The scaling configuration for the regional endpoint. This field is absent if the endpoint has no scaling configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingConfig

      default RegionalEndpoint.Builder scalingConfig(Consumer<ScalingConfig.Builder> scalingConfig)

      The scaling configuration for the regional endpoint. This field is absent if the endpoint has no scaling configuration.

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

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

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

      RegionalEndpoint.Builder throttleConfig(ThrottleConfig throttleConfig)

      The throttling configuration for the regional endpoint. This field is absent if the endpoint has no throttling configuration.

      Parameters:
      throttleConfig - The throttling configuration for the regional endpoint. This field is absent if the endpoint has no throttling configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttleConfig

      default RegionalEndpoint.Builder throttleConfig(Consumer<ThrottleConfig.Builder> throttleConfig)

      The throttling configuration for the regional endpoint. This field is absent if the endpoint has no throttling configuration.

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

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

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

      The current state of the regional endpoint.

      Parameters:
      state - The current state of the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the regional endpoint.

      Parameters:
      state - The current state of the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      RegionalEndpoint.Builder stateReason(String stateReason)

      The reason for the current state of the regional endpoint.

      Parameters:
      stateReason - The reason for the current state of the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateStatus

      RegionalEndpoint.Builder updateStatus(String updateStatus)

      The status of the most recent update to the regional endpoint.

      Parameters:
      updateStatus - The status of the most recent update to the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateStatus

      RegionalEndpoint.Builder updateStatus(EndpointUpdateStatus updateStatus)

      The status of the most recent update to the regional endpoint.

      Parameters:
      updateStatus - The status of the most recent update to the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateStatusReason

      RegionalEndpoint.Builder updateStatusReason(String updateStatusReason)

      The reason for the current update status of the regional endpoint.

      Parameters:
      updateStatusReason - The reason for the current update status of the regional endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.