Interface DescribeAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccountResponse.Builder,
,DescribeAccountResponse> OrganizationsResponse.Builder
,SdkBuilder<DescribeAccountResponse.Builder,
,DescribeAccountResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccountResponse
public static interface DescribeAccountResponse.Builder
extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccountResponse.Builder,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, 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.
- Parameters:
account
- A structure that contains information about the requested account.- 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.
This is a convenience method that creates an instance of theAccount.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:
-