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.BuildercreateAccountStatus(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
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, sdkFieldsMethods 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
CreateAccountStatusID 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 theCreateAccountResultevent. 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 returnedCreateAccountStatusID 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 theCreateAccountResultevent. 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 theCreateAccountStatusID 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 theCreateAccountResultevent. For more information, see Logging and monitoring in Organizations in the Organizations User Guide.CreateAccountStatus.Builderavoiding the need to create one manually viaCreateAccountStatus.builder().When the
Consumercompletes,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:
-