Interface BatchCreateBillScenarioUsageModificationEntry.Builder

    • Method Detail

      • serviceCode

        BatchCreateBillScenarioUsageModificationEntry.Builder serviceCode​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder usageType​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder operation​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder availabilityZone​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder key​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder group​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder usageAccountId​(String 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

        BatchCreateBillScenarioUsageModificationEntry.Builder amounts​(Collection<UsageAmount> 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

        BatchCreateBillScenarioUsageModificationEntry.Builder amounts​(UsageAmount... 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.
      • historicalUsage

        BatchCreateBillScenarioUsageModificationEntry.Builder historicalUsage​(HistoricalUsageEntity 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.