Interface DescribeAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccountResponse.Builder,
,DescribeAccountResponse> OrganizationsResponse.Builder
,SdkBuilder<DescribeAccountResponse.Builder,
,DescribeAccountResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccountResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeAccountResponse.Builder
account
(Consumer<Account.Builder> account) A structure that contains information about the requested account.A structure that contains information about the requested account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.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
-
account
A structure that contains information about the requested account.
The
Status
parameter in the API response will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Parameters:
account
- A structure that contains information about the requested account.The
Status
parameter in the API response will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
A structure that contains information about the requested account.
The
Status
parameter in the API response will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.Account.Builder
avoiding the need to create one manually viaAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccount(Account)
.- Parameters:
account
- a consumer that will call methods onAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-