Interface DeleteCustomLineItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<DeleteCustomLineItemRequest.Builder,,DeleteCustomLineItemRequest> SdkBuilder<DeleteCustomLineItemRequest.Builder,,DeleteCustomLineItemRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteCustomLineItemRequest
@Mutable
@NotThreadSafe
public static interface DeleteCustomLineItemRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<DeleteCustomLineItemRequest.Builder,DeleteCustomLineItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the custom line item to be deleted.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.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the custom line item to be deleted.
- Parameters:
arn- The ARN of the custom line item to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
DeleteCustomLineItemRequest.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 DeleteCustomLineItemRequest.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.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:
-
overrideConfiguration
DeleteCustomLineItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteCustomLineItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-