Interface CreateOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateOrganizationResponse.Builder,CreateOrganizationResponse>,OrganizationsResponse.Builder,SdkBuilder<CreateOrganizationResponse.Builder,CreateOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateOrganizationResponse
public static interface CreateOrganizationResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<CreateOrganizationResponse.Builder,CreateOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateOrganizationResponse.Builderorganization(Consumer<Organization.Builder> organization)A structure that contains details about the newly created organization.CreateOrganizationResponse.Builderorganization(Organization organization)A structure that contains details about the newly created organization.-
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 Detail
-
organization
CreateOrganizationResponse.Builder organization(Organization organization)
A structure that contains details about the newly created organization.
- Parameters:
organization- A structure that contains details about the newly created organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
default CreateOrganizationResponse.Builder organization(Consumer<Organization.Builder> organization)
A structure that contains details about the newly created organization.
This is a convenience method that creates an instance of theOrganization.Builderavoiding the need to create one manually viaOrganization.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganization(Organization).- Parameters:
organization- a consumer that will call methods onOrganization.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
organization(Organization)
-
-