Interface CreateCustomLineItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingconductorRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomLineItemRequest.Builder,
,CreateCustomLineItemRequest> SdkBuilder<CreateCustomLineItemRequest.Builder,
,CreateCustomLineItemRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCustomLineItemRequest
-
Method Summary
Modifier and TypeMethodDescriptionbillingGroupArn
(String billingGroupArn) The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.billingPeriodRange
(Consumer<CustomLineItemBillingPeriodRange.Builder> billingPeriodRange) A time range for which the custom line item is effective.billingPeriodRange
(CustomLineItemBillingPeriodRange billingPeriodRange) A time range for which the custom line item is effective.chargeDetails
(Consumer<CustomLineItemChargeDetails.Builder> chargeDetails) ACustomLineItemChargeDetails
that describes the charge details for a custom line item.chargeDetails
(CustomLineItemChargeDetails chargeDetails) ACustomLineItemChargeDetails
that describes the charge details for a custom line item.clientToken
(String clientToken) The token that is needed to support idempotency.description
(String description) The description of the custom line item.The name of the custom line item.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaCustomLineItemBillingPeriodRange.builder()
.When the
Consumer
completes,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:
-
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
A
CustomLineItemChargeDetails
that describes the charge details for a custom line item.- Parameters:
chargeDetails
- ACustomLineItemChargeDetails
that 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 theCustomLineItemChargeDetails
that describes the charge details for a custom line item.CustomLineItemChargeDetails.Builder
avoiding the need to create one manually viaCustomLineItemChargeDetails.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateCustomLineItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCustomLineItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-