Interface GetEntitlementDecisionRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetEntitlementDecisionRequest.Builder,,GetEntitlementDecisionRequest> SdkBuilder<GetEntitlementDecisionRequest.Builder,,GetEntitlementDecisionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetEntitlementDecisionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.The type of action the user is attempting, used to determine the applicable plan capability and quota.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties(Map<String, String> properties) The same event properties you will send on the event.The number of units the pending action will consume, as a non-negative decimal string (the same Quantity shape PutEvent uses).The environment of the app that this operation applies to.scope(RequestScope scope) The environment of the app that this operation applies to.An opaque identifier that you assign to an end user.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetEntitlementDecisionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-