Interface TransferCreditResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<TransferCreditResponse.Builder,,TransferCreditResponse> SdkBuilder<TransferCreditResponse.Builder,,TransferCreditResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
TransferCreditResponse
@Mutable
@NotThreadSafe
public static interface TransferCreditResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<TransferCreditResponse.Builder,TransferCreditResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.destinationAccountId(String destinationAccountId) The Amazon Web Services account ID that owns the credit after the transfer.Specifies whether the request was a dry run.newCreditId(String newCreditId) Always the same assourceCreditId, because a transfer moves the credit and creates no new one.sourceCreditId(String sourceCreditId) The ID of the transferred credit.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sourceCreditId
The ID of the transferred credit. The credit keeps this ID.
- Parameters:
sourceCreditId- The ID of the transferred credit. The credit keeps this ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newCreditId
Always the same as
sourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.- Parameters:
newCreditId- Always the same assourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAccountId
The Amazon Web Services account ID that owns the credit after the transfer.
- Parameters:
destinationAccountId- The Amazon Web Services account ID that owns the credit after the transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.
- Parameters:
amount- The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Specifies whether the request was a dry run. If
true, the operation didn't change the credit.- Parameters:
dryRun- Specifies whether the request was a dry run. Iftrue, the operation didn't change the credit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-