Interface CreateCustomLineItemRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<CreateCustomLineItemRequest.Builder,CreateCustomLineItemRequest>,SdkBuilder<CreateCustomLineItemRequest.Builder,CreateCustomLineItemRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCustomLineItemRequest
public static interface CreateCustomLineItemRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomLineItemRequest.Builder,CreateCustomLineItemRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCustomLineItemRequest.BuilderaccountId(String accountId)The Amazon Web Services account in which this custom line item will be applied to.CreateCustomLineItemRequest.BuilderbillingGroupArn(String billingGroupArn)The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.default CreateCustomLineItemRequest.BuilderbillingPeriodRange(Consumer<CustomLineItemBillingPeriodRange.Builder> billingPeriodRange)A time range for which the custom line item is effective.CreateCustomLineItemRequest.BuilderbillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)A time range for which the custom line item is effective.default CreateCustomLineItemRequest.BuilderchargeDetails(Consumer<CustomLineItemChargeDetails.Builder> chargeDetails)ACustomLineItemChargeDetailsthat describes the charge details for a custom line item.CreateCustomLineItemRequest.BuilderchargeDetails(CustomLineItemChargeDetails chargeDetails)ACustomLineItemChargeDetailsthat describes the charge details for a custom line item.CreateCustomLineItemRequest.BuilderclientToken(String clientToken)The token that is needed to support idempotency.CreateCustomLineItemRequest.Builderdescription(String description)The description of the custom line item.CreateCustomLineItemRequest.Buildername(String name)The name of the custom line item.CreateCustomLineItemRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCustomLineItemRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCustomLineItemRequest.Buildertags(Map<String,String> tags)A map that contains tag keys and tag values that are attached to a custom line item.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
build
-
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, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateCustomLineItemRequest.Builder clientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
- Parameters:
clientToken- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateCustomLineItemRequest.Builder name(String name)
The name of the custom line item.
- Parameters:
name- The name of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateCustomLineItemRequest.Builder description(String description)
The description of the custom line item. This is shown on the Bills page in association with the charge value.
- Parameters:
description- The description of the custom line item. This is shown on the Bills page in association with the charge value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupArn
CreateCustomLineItemRequest.Builder billingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
- Parameters:
billingGroupArn- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
CreateCustomLineItemRequest.Builder billingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
A time range for which the custom line item is effective.
- Parameters:
billingPeriodRange- A time range for which the custom line item is effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
default CreateCustomLineItemRequest.Builder billingPeriodRange(Consumer<CustomLineItemBillingPeriodRange.Builder> billingPeriodRange)
A time range for which the custom line item is effective.
This is a convenience method that creates an instance of theCustomLineItemBillingPeriodRange.Builderavoiding the need to create one manually viaCustomLineItemBillingPeriodRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingPeriodRange(CustomLineItemBillingPeriodRange).- Parameters:
billingPeriodRange- a consumer that will call methods onCustomLineItemBillingPeriodRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
billingPeriodRange(CustomLineItemBillingPeriodRange)
-
tags
CreateCustomLineItemRequest.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a custom line item.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to a custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
CreateCustomLineItemRequest.Builder chargeDetails(CustomLineItemChargeDetails chargeDetails)
A
CustomLineItemChargeDetailsthat describes the charge details for a custom line item.- Parameters:
chargeDetails- ACustomLineItemChargeDetailsthat describes the charge details for a custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
default CreateCustomLineItemRequest.Builder chargeDetails(Consumer<CustomLineItemChargeDetails.Builder> chargeDetails)
A
This is a convenience method that creates an instance of theCustomLineItemChargeDetailsthat describes the charge details for a custom line item.CustomLineItemChargeDetails.Builderavoiding the need to create one manually viaCustomLineItemChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochargeDetails(CustomLineItemChargeDetails).- Parameters:
chargeDetails- a consumer that will call methods onCustomLineItemChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
chargeDetails(CustomLineItemChargeDetails)
-
accountId
CreateCustomLineItemRequest.Builder accountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
- Parameters:
accountId- The Amazon Web Services account in which this custom line item will be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomLineItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCustomLineItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-