Interface TransferCreditRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingRequest.Builder,Buildable,CopyableBuilder<TransferCreditRequest.Builder,,TransferCreditRequest> SdkBuilder<TransferCreditRequest.Builder,,TransferCreditRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
TransferCreditRequest
@Mutable
@NotThreadSafe
public static interface TransferCreditRequest.Builder
extends BillingRequest.Builder, SdkPojo, CopyableBuilder<TransferCreditRequest.Builder,TransferCreditRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.The ID of the credit to transfer.destinationAccountId(String destinationAccountId) The Amazon Web Services account ID that becomes the owner of the credit.Specifies whether to validate the request and return the result without changing the credit.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.billing.model.BillingRequest.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
-
creditId
The ID of the credit to transfer.
- Parameters:
creditId- The ID of the credit to transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAccountId
The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.
- Parameters:
destinationAccountId- The Amazon Web Services account ID that becomes the owner of the credit. The account must be in your consolidated billing family and must not be the current owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a
ValidationException.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Specifies whether to validate the request and return the result without changing the credit.
- Parameters:
dryRun- Specifies whether to validate the request and return the result without changing the credit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TransferCreditRequest.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
TransferCreditRequest.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.
-