Interface PutEventRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<PutEventRequest.Builder,,PutEventRequest> SdkBuilder<PutEventRequest.Builder,,PutEventRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutEventRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app the event belongs to.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.The event type.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 key/value properties carried on the event, usable in metric filters and grouping.The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.scope(RequestScope scope) The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.The time the event occurred.The ID of the end user the event is attributed to.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 the event belongs to.
- Parameters:
appId- The ID of the app the event belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The ID of the end user the event is attributed to. Do not include personally identifiable or otherwise sensitive data in this value.
- Parameters:
userId- The ID of the end user the event is attributed to. 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 event type. Correlates with the event type of the metrics that aggregate it.
- Parameters:
eventType- The event type. Correlates with the event type of the metrics that aggregate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").
- Parameters:
quantity- The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The time the event occurred.
- Parameters:
timestamp- The time the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The key/value properties carried on the event, usable in metric filters and grouping. When a metric sums or takes the max of a property, that property's value must be a plain non-negative decimal (up to 15 digits before the point and 6 after; no sign, exponent, spaces, or commas, for example "1200" or "12.5"), and events that break this are rejected.
- Parameters:
properties- The key/value properties carried on the event, usable in metric filters and grouping. When a metric sums or takes the max of a property, that property's value must be a plain non-negative decimal (up to 15 digits before the point and 6 after; no sign, exponent, spaces, or commas, for example "1200" or "12.5"), and events that break this are rejected.- 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: the live app or the app's isolated sandbox test environment.
- Parameters:
scope- The environment of the app that this operation applies to: the live app or the app's isolated sandbox 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: the live app or the app's isolated sandbox test environment.
- Parameters:
scope- The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutEventRequest.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
PutEventRequest.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.
-