public static interface DescribeOrganizationalUnitResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeOrganizationalUnitResponse.Builder,DescribeOrganizationalUnitResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeOrganizationalUnitResponse.Builder |
organizationalUnit(Consumer<OrganizationalUnit.Builder> organizationalUnit)
A structure that contains details about the specified OU.
|
DescribeOrganizationalUnitResponse.Builder |
organizationalUnit(OrganizationalUnit organizationalUnit)
A structure that contains details about the specified OU.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeOrganizationalUnitResponse.Builder organizationalUnit(OrganizationalUnit organizationalUnit)
A structure that contains details about the specified OU.
organizationalUnit
- A structure that contains details about the specified OU.default DescribeOrganizationalUnitResponse.Builder organizationalUnit(Consumer<OrganizationalUnit.Builder> organizationalUnit)
A structure that contains details about the specified 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.