Interface UpdateBillingTransferPreferenceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<UpdateBillingTransferPreferenceRequest.Builder,,UpdateBillingTransferPreferenceRequest> SdkBuilder<UpdateBillingTransferPreferenceRequest.Builder,,UpdateBillingTransferPreferenceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBillingTransferPreferenceRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoBillingTransferBillingGroupCreation(Consumer<AutoTransferBillingGroupCreationPreference.Builder> autoBillingTransferBillingGroupCreation) The auto billing group creation preference to set for the billing transfer.autoBillingTransferBillingGroupCreation(AutoTransferBillingGroupCreationPreference autoBillingTransferBillingGroupCreation) The auto billing group creation preference to set for the billing transfer.clientToken(String clientToken) A unique, case-sensitive identifier that you specify to ensure idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.responsibilityTransferArn(String responsibilityTransferArn) The Amazon Resource Name (ARN) of the billing transfer whose preference you want to set.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
-
clientToken
A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
- Parameters:
clientToken- A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responsibilityTransferArn
UpdateBillingTransferPreferenceRequest.Builder responsibilityTransferArn(String responsibilityTransferArn) The Amazon Resource Name (ARN) of the billing transfer whose preference you want to set.
- Parameters:
responsibilityTransferArn- The Amazon Resource Name (ARN) of the billing transfer whose preference you want to set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBillingTransferBillingGroupCreation
UpdateBillingTransferPreferenceRequest.Builder autoBillingTransferBillingGroupCreation(AutoTransferBillingGroupCreationPreference autoBillingTransferBillingGroupCreation) The auto billing group creation preference to set for the billing transfer.
- Parameters:
autoBillingTransferBillingGroupCreation- The auto billing group creation preference to set for the billing transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBillingTransferBillingGroupCreation
default UpdateBillingTransferPreferenceRequest.Builder autoBillingTransferBillingGroupCreation(Consumer<AutoTransferBillingGroupCreationPreference.Builder> autoBillingTransferBillingGroupCreation) The auto billing group creation preference to set for the billing transfer.
This is a convenience method that creates an instance of theAutoTransferBillingGroupCreationPreference.Builderavoiding the need to create one manually viaAutoTransferBillingGroupCreationPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoBillingTransferBillingGroupCreation(AutoTransferBillingGroupCreationPreference).- Parameters:
autoBillingTransferBillingGroupCreation- a consumer that will call methods onAutoTransferBillingGroupCreationPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBillingTransferPreferenceRequest.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
UpdateBillingTransferPreferenceRequest.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.
-