Interface SplitPortion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SplitPortion.Builder,,SplitPortion> SdkBuilder<SplitPortion.Builder,,SplitPortion> SdkPojo
- Enclosing class:
SplitPortion
@Mutable
@NotThreadSafe
public static interface SplitPortion.Builder
extends SdkPojo, CopyableBuilder<SplitPortion.Builder,SplitPortion>
-
Method Summary
Modifier and TypeMethodDescriptionThe amount of the new credit, in the currency of the credit that you split.description(String description) The description of the new credit.Methods 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
-
amount
The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.
- Parameters:
amount- The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for example
MAP credit - 1/3. If you split that credit again, the name extends, for exampleMAP credit - 1/3 - 2/2. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.- Parameters:
description- The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for exampleMAP credit - 1/3. If you split that credit again, the name extends, for exampleMAP credit - 1/3 - 2/2. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-