Interface BatchPutLimitEntry.Builder

  • Method Details

    • rateLimitId

      BatchPutLimitEntry.Builder rateLimitId(String rateLimitId)

      The unique identifier of the rate limit. If provided, the service uses it for upsert matching against existing rate limits.

      Parameters:
      rateLimitId - The unique identifier of the rate limit. If provided, the service uses it for upsert matching against existing rate limits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      BatchPutLimitEntry.Builder description(String description)

      An optional human-readable description for this rate limit. If not provided, the rate limit is created without a description.

      Parameters:
      description - An optional human-readable description for this rate limit. If not provided, the rate limit is created without a description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionKeys

      BatchPutLimitEntry.Builder dimensionKeys(Collection<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.
    • dimensionKeys

      BatchPutLimitEntry.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: