Interface PutAwsServiceEventRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<PutAwsServiceEventRequest.Builder,,PutAwsServiceEventRequest> SdkBuilder<PutAwsServiceEventRequest.Builder,,PutAwsServiceEventRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutAwsServiceEventRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.The AWS Region in which the event occurred.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.The AWS operation (API action) that produced the usage event.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 a usage event.A non-negative decimal quantity represented as a string (for example, "1500" or "12.5").The environment of the app that this operation applies to.scope(RequestScope scope) The environment of the app that this operation applies to.The AWS service name that emitted the usage event.The time the event occurred, as an ISO-8601 date-time in UTC (for example, "2026-07-26T15:04:05Z").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.
-
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
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.
-
service
The AWS service name that emitted the usage event.
- Parameters:
service- The AWS service name that emitted the usage event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The AWS operation (API action) that produced the usage event.
- Parameters:
operation- The AWS operation (API action) that produced the usage event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
A non-negative decimal quantity represented as a string (for example, "1500" or "12.5").
- Parameters:
quantity- A non-negative decimal quantity represented as a string (for example, "1500" or "12.5").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The time the event occurred, as an ISO-8601 date-time in UTC (for example, "2026-07-26T15:04:05Z").
- Parameters:
timestamp- The time the event occurred, as an ISO-8601 date-time in UTC (for example, "2026-07-26T15:04:05Z").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The AWS Region in which the event occurred.
- Parameters:
awsRegion- The AWS Region in which 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 a usage event. Property values can be referenced by metric filters and grouping.
- Parameters:
properties- The key/value properties carried on a usage event. Property values can be referenced by metric filters and grouping.- 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:
-
overrideConfiguration
PutAwsServiceEventRequest.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
PutAwsServiceEventRequest.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.
-