Interface GatewayRateLimitDetail.Builder

  • Method Details

    • rateLimitId

      GatewayRateLimitDetail.Builder rateLimitId(String rateLimitId)
      Sets the value of the RateLimitId property for this object.
      Parameters:
      rateLimitId - The new value for the RateLimitId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayIdentifier

      GatewayRateLimitDetail.Builder gatewayIdentifier(String gatewayIdentifier)

      The unique identifier of the gateway.

      Parameters:
      gatewayIdentifier - The unique identifier of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GatewayRateLimitDetail.Builder description(String description)

      Optional human-readable description for this limit.

      Parameters:
      description - Optional human-readable description for this limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionKeys

      GatewayRateLimitDetail.Builder dimensionKeys(Collection<String> dimensionKeys)
      Sets the value of the DimensionKeys property for this object.
      Parameters:
      dimensionKeys - The new value for the DimensionKeys property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionKeys

      GatewayRateLimitDetail.Builder dimensionKeys(String... dimensionKeys)
      Sets the value of the DimensionKeys property for this object.
      Parameters:
      dimensionKeys - The new value for the DimensionKeys property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      Sets the value of the Entries property for this object.
      Parameters:
      entries - The new value for the Entries property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      Sets the value of the Entries property for this object.
      Parameters:
      entries - The new value for the Entries property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      Sets the value of the Entries property for this object. This is a convenience method that creates an instance of the LimitEntry.Builder avoiding the need to create one manually via LimitEntry.builder().

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

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

      Sets the value of the Status property for this object.
      Parameters:
      status - The new value for the Status property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Sets the value of the Status property for this object.
      Parameters:
      status - The new value for the Status property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The timestamp when the rate limit was created.

      Parameters:
      createdAt - The timestamp when the rate limit was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The timestamp when the rate limit was last updated.

      Parameters:
      updatedAt - The timestamp when the rate limit was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.