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