Interface BatchCreateBillScenarioUsageModificationEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateBillScenarioUsageModificationEntry.Builder,BatchCreateBillScenarioUsageModificationEntry>,SdkBuilder<BatchCreateBillScenarioUsageModificationEntry.Builder,BatchCreateBillScenarioUsageModificationEntry>,SdkPojo
- Enclosing class:
- BatchCreateBillScenarioUsageModificationEntry
public static interface BatchCreateBillScenarioUsageModificationEntry.Builder extends SdkPojo, CopyableBuilder<BatchCreateBillScenarioUsageModificationEntry.Builder,BatchCreateBillScenarioUsageModificationEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchCreateBillScenarioUsageModificationEntry.Builderamounts(Collection<UsageAmount> amounts)The amount of usage you want to create for the service use you are modeling.BatchCreateBillScenarioUsageModificationEntry.Builderamounts(Consumer<UsageAmount.Builder>... amounts)The amount of usage you want to create for the service use you are modeling.BatchCreateBillScenarioUsageModificationEntry.Builderamounts(UsageAmount... amounts)The amount of usage you want to create for the service use you are modeling.BatchCreateBillScenarioUsageModificationEntry.BuilderavailabilityZone(String availabilityZone)The Availability Zone that this usage line uses.BatchCreateBillScenarioUsageModificationEntry.Buildergroup(String group)An optional group identifier for the usage modification.default BatchCreateBillScenarioUsageModificationEntry.BuilderhistoricalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)Historical usage data associated with this modification, if available.BatchCreateBillScenarioUsageModificationEntry.BuilderhistoricalUsage(HistoricalUsageEntity historicalUsage)Historical usage data associated with this modification, if available.BatchCreateBillScenarioUsageModificationEntry.Builderkey(String key)A unique identifier for this entry in the batch operation.BatchCreateBillScenarioUsageModificationEntry.Builderoperation(String operation)The specific operation associated with this usage modification.BatchCreateBillScenarioUsageModificationEntry.BuilderserviceCode(String serviceCode)The Amazon Web Services service code for this usage modification.BatchCreateBillScenarioUsageModificationEntry.BuilderusageAccountId(String usageAccountId)The Amazon Web Services account ID to which this usage will be applied to.BatchCreateBillScenarioUsageModificationEntry.BuilderusageType(String usageType)Describes the usage details of the usage line item.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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,
AmazonEC2andAWSKMS.- 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,AmazonEC2andAWSKMS.- 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,
RunInstancesindicates 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,RunInstancesindicates 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.
-
amounts
BatchCreateBillScenarioUsageModificationEntry.Builder amounts(Consumer<UsageAmount.Builder>... 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 theUsageAmount.Builderavoiding the need to create one manually viaUsageAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#amounts(List.) - Parameters:
amounts- a consumer that will call methods onUsageAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#amounts(java.util.Collection)
-
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.
-
historicalUsage
default BatchCreateBillScenarioUsageModificationEntry.Builder historicalUsage(Consumer<HistoricalUsageEntity.Builder> historicalUsage)
Historical usage data associated with this modification, if available.
This is a convenience method that creates an instance of theHistoricalUsageEntity.Builderavoiding the need to create one manually viaHistoricalUsageEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohistoricalUsage(HistoricalUsageEntity).- Parameters:
historicalUsage- a consumer that will call methods onHistoricalUsageEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
historicalUsage(HistoricalUsageEntity)
-
-