Interface PutAwsServiceEventRequest.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.
    • clientToken

      PutAwsServiceEventRequest.Builder clientToken(String 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.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.