Interface BatchCreateBillScenarioUsageModificationEntry.Builder

  • Method Details

    • serviceCode

      The Amazon Web Services service code for this usage modification. This identifies the specific Amazon Web Services service to the customer as a unique short abbreviation. For example, AmazonEC2 and AWSKMS.

      Parameters:
      serviceCode - The Amazon Web Services service code for this usage modification. This identifies the specific Amazon Web Services service to the customer as a unique short abbreviation. For example, AmazonEC2 and AWSKMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageType

      Describes the usage details of the usage line item.

      Parameters:
      usageType - Describes the usage details of the usage line item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      The specific operation associated with this usage modification. Describes the specific Amazon Web Services operation that this usage line models. For example, RunInstances indicates the operation of an Amazon EC2 instance.

      Parameters:
      operation - The specific operation associated with this usage modification. Describes the specific Amazon Web Services operation that this usage line models. For example, RunInstances indicates the operation of an Amazon EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      The Availability Zone that this usage line uses.

      Parameters:
      availabilityZone - The Availability Zone that this usage line uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      A unique identifier for this entry in the batch operation. This can be any valid string. This key is useful to identify errors associated with any usage entry as any error is returned with this key.

      Parameters:
      key - A unique identifier for this entry in the batch operation. This can be any valid string. This key is useful to identify errors associated with any usage entry as any error is returned with this key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • group

      An optional group identifier for the usage modification.

      Parameters:
      group - An optional group identifier for the usage modification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageAccountId

      The Amazon Web Services account ID to which this usage will be applied to.

      Parameters:
      usageAccountId - The Amazon Web Services account ID to which this usage will be applied to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amounts

      The amount of usage you want to create for the service use you are modeling.

      Parameters:
      amounts - The amount of usage you want to create for the service use you are modeling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amounts

      The amount of usage you want to create for the service use you are modeling.

      Parameters:
      amounts - The amount of usage you want to create for the service use you are modeling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amounts

      The amount of usage you want to create for the service use you are modeling.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to amounts(List<UsageAmount>).

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

      Historical usage data associated with this modification, if available.

      Parameters:
      historicalUsage - Historical usage data associated with this modification, if available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • historicalUsage

      Historical usage data associated with this modification, if available.

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

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

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