public static interface CreateOrganizationResponse.Builder extends OrganizationsResponse.Builder, CopyableBuilder<CreateOrganizationResponse.Builder,CreateOrganizationResponse>
Modifier and Type | Method and Description |
---|---|
default CreateOrganizationResponse.Builder |
organization(Consumer<Organization.Builder> organization)
A structure that contains details about the newly created organization.
|
CreateOrganizationResponse.Builder |
organization(Organization organization)
A structure that contains details about the newly created organization.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateOrganizationResponse.Builder organization(Organization organization)
A structure that contains details about the newly created organization.
organization
- A structure that contains details about the newly created organization.default CreateOrganizationResponse.Builder organization(Consumer<Organization.Builder> organization)
A structure that contains details about the newly created organization.
This is a convenience that creates an instance of theOrganization.Builder
avoiding the need to
create one manually via Organization.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to organization(Organization)
.organization
- a consumer that will call methods on Organization.Builder
organization(Organization)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.