Interface BatchPutLimitEntry.Builder

  • Method Details

    • rateLimitId

      BatchPutLimitEntry.Builder rateLimitId(String rateLimitId)

      Optional — if provided, used for upsert matching against existing limits.

      Parameters:
      rateLimitId - Optional — if provided, used for upsert matching against existing limits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

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

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

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