Interface GetAccountPlanStateResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetAccountPlanStateResponse.Builder,,- GetAccountPlanStateResponse> - FreeTierResponse.Builder,- SdkBuilder<GetAccountPlanStateResponse.Builder,,- GetAccountPlanStateResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetAccountPlanStateResponse
@Mutable
@NotThreadSafe
public static interface GetAccountPlanStateResponse.Builder
extends FreeTierResponse.Builder, SdkPojo, CopyableBuilder<GetAccountPlanStateResponse.Builder,GetAccountPlanStateResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionA unique identifier that identifies the account.accountPlanExpirationDate(Instant accountPlanExpirationDate) The timestamp for when the current account plan expires.accountPlanRemainingCredits(Consumer<MonetaryAmount.Builder> accountPlanRemainingCredits) The amount of credits remaining for the account.accountPlanRemainingCredits(MonetaryAmount accountPlanRemainingCredits) The amount of credits remaining for the account.accountPlanStatus(String accountPlanStatus) The current status for the account plan.accountPlanStatus(AccountPlanStatus accountPlanStatus) The current status for the account plan.accountPlanType(String accountPlanType) The plan type for the account.accountPlanType(AccountPlanType accountPlanType) The plan type for the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.freetier.model.FreeTierResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
accountIdA unique identifier that identifies the account. - Parameters:
- accountId- A unique identifier that identifies the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
accountPlanTypeThe plan type for the account. - Parameters:
- accountPlanType- The plan type for the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountPlanTypeThe plan type for the account. - Parameters:
- accountPlanType- The plan type for the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountPlanStatusThe current status for the account plan. - Parameters:
- accountPlanStatus- The current status for the account plan.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountPlanStatusThe current status for the account plan. - Parameters:
- accountPlanStatus- The current status for the account plan.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountPlanRemainingCreditsGetAccountPlanStateResponse.Builder accountPlanRemainingCredits(MonetaryAmount accountPlanRemainingCredits) The amount of credits remaining for the account. - Parameters:
- accountPlanRemainingCredits- The amount of credits remaining for the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
accountPlanRemainingCreditsdefault GetAccountPlanStateResponse.Builder accountPlanRemainingCredits(Consumer<MonetaryAmount.Builder> accountPlanRemainingCredits) The amount of credits remaining for the account. This is a convenience method that creates an instance of theMonetaryAmount.Builderavoiding the need to create one manually viaMonetaryAmount.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountPlanRemainingCredits(MonetaryAmount).- Parameters:
- accountPlanRemainingCredits- a consumer that will call methods on- MonetaryAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountPlanExpirationDateThe timestamp for when the current account plan expires. - Parameters:
- accountPlanExpirationDate- The timestamp for when the current account plan expires.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-