Interface BatchAssociateResourcesToCustomLineItemRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<BatchAssociateResourcesToCustomLineItemRequest.Builder,BatchAssociateResourcesToCustomLineItemRequest>,SdkBuilder<BatchAssociateResourcesToCustomLineItemRequest.Builder,BatchAssociateResourcesToCustomLineItemRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchAssociateResourcesToCustomLineItemRequest
public static interface BatchAssociateResourcesToCustomLineItemRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<BatchAssociateResourcesToCustomLineItemRequest.Builder,BatchAssociateResourcesToCustomLineItemRequest>
-
-
Method Summary
-
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
-
targetArn
BatchAssociateResourcesToCustomLineItemRequest.Builder targetArn(String targetArn)
A percentage custom line item ARN to associate the resources to.
- Parameters:
targetArn- A percentage custom line item ARN to associate the resources to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
BatchAssociateResourcesToCustomLineItemRequest.Builder resourceArns(Collection<String> resourceArns)
A list containing the ARNs of the resources to be associated.
- Parameters:
resourceArns- A list containing the ARNs of the resources to be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
BatchAssociateResourcesToCustomLineItemRequest.Builder resourceArns(String... resourceArns)
A list containing the ARNs of the resources to be associated.
- Parameters:
resourceArns- A list containing the ARNs of the resources to be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
BatchAssociateResourcesToCustomLineItemRequest.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 BatchAssociateResourcesToCustomLineItemRequest.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:
billingPeriodRange(CustomLineItemBillingPeriodRange)
-
overrideConfiguration
BatchAssociateResourcesToCustomLineItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchAssociateResourcesToCustomLineItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-