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 Summary
Modifier 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.freetier.model.FreeTierResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountId
A 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.
-
accountPlanType
The 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:
-
accountPlanType
The 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:
-
accountPlanStatus
The 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:
-
accountPlanStatus
The 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:
-
accountPlanRemainingCredits
GetAccountPlanStateResponse.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.
-
accountPlanRemainingCredits
default 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.Builder
avoiding the need to create one manually viaMonetaryAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountPlanRemainingCredits(MonetaryAmount)
.- Parameters:
accountPlanRemainingCredits
- a consumer that will call methods onMonetaryAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountPlanExpirationDate
The 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.
-