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.Builderaccount(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
copyMethods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,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:
-