Interface CreateAccountResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateAccountResponse.Builder,CreateAccountResponse>, OrganizationsResponse.Builder, SdkBuilder<CreateAccountResponse.Builder,CreateAccountResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateAccountResponse

public static interface CreateAccountResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<CreateAccountResponse.Builder,CreateAccountResponse>
  • Method Details

    • createAccountStatus

      CreateAccountResponse.Builder createAccountStatus(CreateAccountStatus 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 the CreateAccountResult 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 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 the CreateAccountResult 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 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 the CreateAccountResult event. For more information, see Logging and monitoring in Organizations in the Organizations User Guide.

      This is a convenience method that creates an instance of the CreateAccountStatus.Builder avoiding the need to create one manually via CreateAccountStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to createAccountStatus(CreateAccountStatus).

      Parameters:
      createAccountStatus - a consumer that will call methods on CreateAccountStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: