All Superinterfaces:
Buildable, CopyableBuilder<LimitType.Builder,LimitType>, SdkBuilder<LimitType.Builder,LimitType>, SdkPojo
Enclosing class:
LimitType

@Mutable @NotThreadSafe public static interface LimitType.Builder extends SdkPojo, CopyableBuilder<LimitType.Builder,LimitType>
  • Method Details

    • limitDefinition

      LimitType.Builder limitDefinition(LimitDefinitionType limitDefinition)

      The definition that identifies this limit, including the class and attributes.

      Parameters:
      limitDefinition - The definition that identifies this limit, including the class and attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limitDefinition

      default LimitType.Builder limitDefinition(Consumer<LimitDefinitionType.Builder> limitDefinition)

      The definition that identifies this limit, including the class and attributes.

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

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

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

      LimitType.Builder provisionedLimitValue(Integer provisionedLimitValue)

      The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.

      Parameters:
      provisionedLimitValue - The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • freeLimitValue

      LimitType.Builder freeLimitValue(Integer freeLimitValue)

      The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.

      Parameters:
      freeLimitValue - The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.