Interface UpdateOrganizationalUnitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateOrganizationalUnitResponse.Builder,
,UpdateOrganizationalUnitResponse> OrganizationsResponse.Builder
,SdkBuilder<UpdateOrganizationalUnitResponse.Builder,
,UpdateOrganizationalUnitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateOrganizationalUnitResponse
public static interface UpdateOrganizationalUnitResponse.Builder
extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<UpdateOrganizationalUnitResponse.Builder,UpdateOrganizationalUnitResponse>
-
Method Summary
Modifier and TypeMethodDescriptionorganizationalUnit
(Consumer<OrganizationalUnit.Builder> organizationalUnit) A structure that contains the details about the specified OU, including its new name.organizationalUnit
(OrganizationalUnit organizationalUnit) A structure that contains the details about the specified OU, including its new name.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 Details
-
organizationalUnit
A structure that contains the details about the specified OU, including its new name.
- Parameters:
organizationalUnit
- A structure that contains the details about the specified OU, including its new name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnit
default UpdateOrganizationalUnitResponse.Builder organizationalUnit(Consumer<OrganizationalUnit.Builder> organizationalUnit) A structure that contains the details about the specified OU, including its new name.
This is a convenience method that creates an instance of theOrganizationalUnit.Builder
avoiding the need to create one manually viaOrganizationalUnit.builder()
.When the
Consumer
completes,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:
-