Interface UpdateCustomLineItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingconductorRequest.Builder
,Buildable
,CopyableBuilder<UpdateCustomLineItemRequest.Builder,
,UpdateCustomLineItemRequest> SdkBuilder<UpdateCustomLineItemRequest.Builder,
,UpdateCustomLineItemRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCustomLineItemRequest
public static interface UpdateCustomLineItemRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<UpdateCustomLineItemRequest.Builder,UpdateCustomLineItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the custom line item to be updated.billingPeriodRange
(Consumer<CustomLineItemBillingPeriodRange.Builder> billingPeriodRange) Sets the value of the BillingPeriodRange property for this object.billingPeriodRange
(CustomLineItemBillingPeriodRange billingPeriodRange) Sets the value of the BillingPeriodRange property for this object.chargeDetails
(Consumer<UpdateCustomLineItemChargeDetails.Builder> chargeDetails) AListCustomLineItemChargeDetails
containing the new charge details for the custom line item.chargeDetails
(UpdateCustomLineItemChargeDetails chargeDetails) AListCustomLineItemChargeDetails
containing the new charge details for the custom line item.description
(String description) The new line item description of the custom line item.The new name for the custom line item.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
arn
The ARN of the custom line item to be updated.
- Parameters:
arn
- The ARN of the custom line item to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name for the custom line item.
- Parameters:
name
- The new name for the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new line item description of the custom line item.
- Parameters:
description
- The new line item description of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
A
ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.- Parameters:
chargeDetails
- AListCustomLineItemChargeDetails
containing the new charge details for the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
default UpdateCustomLineItemRequest.Builder chargeDetails(Consumer<UpdateCustomLineItemChargeDetails.Builder> chargeDetails) A
This is a convenience method that creates an instance of theListCustomLineItemChargeDetails
containing the new charge details for the custom line item.UpdateCustomLineItemChargeDetails.Builder
avoiding the need to create one manually viaUpdateCustomLineItemChargeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochargeDetails(UpdateCustomLineItemChargeDetails)
.- Parameters:
chargeDetails
- a consumer that will call methods onUpdateCustomLineItemChargeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingPeriodRange
UpdateCustomLineItemRequest.Builder billingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange) Sets the value of the BillingPeriodRange property for this object.- Parameters:
billingPeriodRange
- The new value for the BillingPeriodRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
default UpdateCustomLineItemRequest.Builder billingPeriodRange(Consumer<CustomLineItemBillingPeriodRange.Builder> billingPeriodRange) Sets the value of the BillingPeriodRange property for this object. 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:
-
overrideConfiguration
UpdateCustomLineItemRequest.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
UpdateCustomLineItemRequest.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.
-