Interface GetEntitlementDecisionRequest.Builder

  • Method Details

    • appId

      The ID of the app.

      Parameters:
      appId - The ID of the app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      An opaque identifier that you assign to an end user. Do not include personally identifiable or otherwise sensitive data in this value.

      Parameters:
      userId - An opaque identifier that you assign to an end user. Do not include personally identifiable or otherwise sensitive data in this value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventType

      The type of action the user is attempting, used to determine the applicable plan capability and quota. Use the same event type you will send on the event.

      Parameters:
      eventType - The type of action the user is attempting, used to determine the applicable plan capability and quota. Use the same event type you will send on the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The environment of the app that this operation applies to. Specify live to use the live app, or sandbox to use the app's isolated test environment.

      Parameters:
      scope - The environment of the app that this operation applies to. Specify live to use the live app, or sandbox to use the app's isolated test environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The environment of the app that this operation applies to. Specify live to use the live app, or sandbox to use the app's isolated test environment.

      Parameters:
      scope - The environment of the app that this operation applies to. Specify live to use the live app, or sandbox to use the app's isolated test environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quantity

      The number of units the pending action will consume, as a non-negative decimal string (the same Quantity shape PutEvent uses). Send the real amount if known, otherwise your best upper estimate (for example a request's max tokens). Used when a metric counts events or sums or maxes the event quantity itself. The decision is DENY when usage already reached the limit, or when folding this event in would push it past (SUM and COUNT add the increment; MAX takes the larger of current usage and the increment).

      Parameters:
      quantity - The number of units the pending action will consume, as a non-negative decimal string (the same Quantity shape PutEvent uses). Send the real amount if known, otherwise your best upper estimate (for example a request's max tokens). Used when a metric counts events or sums or maxes the event quantity itself. The decision is DENY when usage already reached the limit, or when folding this event in would push it past (SUM and COUNT add the increment; MAX takes the larger of current usage and the increment).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      The same event properties you will send on the event. Each metric's filter is applied to them, and a summed or maxed field value is read from them. Omit them or send {} when the event has none; a metric that sums or maxes a property then rejects the check, as PutEvent rejects the event. Do not include personally identifiable or otherwise sensitive data in these values.

      Parameters:
      properties - The same event properties you will send on the event. Each metric's filter is applied to them, and a summed or maxed field value is read from them. Omit them or send {} when the event has none; a metric that sums or maxes a property then rejects the check, as PutEvent rejects the event. Do not include personally identifiable or otherwise sensitive data in these values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetEntitlementDecisionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.