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