Interface CreateAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAccountResponse.Builder,
,CreateAccountResponse> OrganizationsResponse.Builder
,SdkBuilder<CreateAccountResponse.Builder,
,CreateAccountResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAccountResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAccountResponse.Builder
createAccountStatus
(Consumer<CreateAccountStatus.Builder> createAccountStatus) A structure that contains details about the request to create an account.createAccountStatus
(CreateAccountStatus createAccountStatus) A structure that contains details about the request to create an 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
-
createAccountStatus
A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returned
CreateAccountStatus
ID as a parameter to DescribeCreateAccountStatus to get status about the progress of the request at later times. You can also check the CloudTrail log for theCreateAccountResult
event. For more information, see Logging and monitoring in Organizations in the Organizations User Guide.- Parameters:
createAccountStatus
- A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returnedCreateAccountStatus
ID as a parameter to DescribeCreateAccountStatus to get status about the progress of the request at later times. You can also check the CloudTrail log for theCreateAccountResult
event. For more information, see Logging and monitoring in Organizations in the Organizations User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createAccountStatus
default CreateAccountResponse.Builder createAccountStatus(Consumer<CreateAccountStatus.Builder> createAccountStatus) A structure that contains details about the request to create an account. This response structure might not be fully populated when you first receive it because account creation is an asynchronous process. You can pass the returned
This is a convenience method that creates an instance of theCreateAccountStatus
ID as a parameter to DescribeCreateAccountStatus to get status about the progress of the request at later times. You can also check the CloudTrail log for theCreateAccountResult
event. For more information, see Logging and monitoring in Organizations in the Organizations User Guide.CreateAccountStatus.Builder
avoiding the need to create one manually viaCreateAccountStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateAccountStatus(CreateAccountStatus)
.- Parameters:
createAccountStatus
- a consumer that will call methods onCreateAccountStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-