Interface UpdateGatewayRateLimitResponse.Builder

  • Method Details

    • rateLimitId

      The unique identifier of the rate limit.

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

      UpdateGatewayRateLimitResponse.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

      The human-readable description of the rate limit.

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

      The ordered list of dimension key names that define the scope of this rate limit.

      Parameters:
      dimensionKeys - The ordered list of dimension key names that define the scope of this rate limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionKeys

      UpdateGatewayRateLimitResponse.Builder dimensionKeys(String... dimensionKeys)

      The ordered list of dimension key names that define the scope of this rate limit.

      Parameters:
      dimensionKeys - The ordered list of dimension key names that define the scope of this rate limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The list of rule entries that map dimension values to rate configurations.

      Parameters:
      entries - The list of rule entries that map dimension values to rate configurations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The list of rule entries that map dimension values to rate configurations.

      Parameters:
      entries - The list of rule entries that map dimension values to rate configurations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      The list of rule entries that map dimension values to rate configurations.

      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

      The current status of the rate limit.

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

      The current status of the rate limit.

      Parameters:
      status - The current status of the rate limit.
      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.