Interface PutEventRequest.Builder

  • 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

      PutEventRequest.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

      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

      PutEventRequest.Builder eventType(String 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

      PutEventRequest.Builder quantity(String 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

      PutEventRequest.Builder timestamp(Instant 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

      PutEventRequest.Builder properties(Map<String,String> 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.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.