Interface OneTimePrice.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the one-time price.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the one-time price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appId

      The ID of the app the one-time price belongs to.

      Parameters:
      appId - The ID of the app the one-time price belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oneTimePriceId

      OneTimePrice.Builder oneTimePriceId(String oneTimePriceId)

      The service-assigned ID of the one-time price.

      Parameters:
      oneTimePriceId - The service-assigned ID of the one-time price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      The definition of the one-time price, including its display name, price, metric, and credited capacity.

      Parameters:
      definition - The definition of the one-time price, including its display name, price, metric, and credited capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      The definition of the one-time price, including its display name, price, metric, and credited capacity.

      This is a convenience method that creates an instance of the OneTimePriceDefinition.Builder avoiding the need to create one manually via OneTimePriceDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definition(OneTimePriceDefinition).

      Parameters:
      definition - a consumer that will call methods on OneTimePriceDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      The offering stage the one-time price was read from.

      Parameters:
      stage - The offering stage the one-time price was read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      The offering stage the one-time price was read from.

      Parameters:
      stage - The offering stage the one-time price was read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: