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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateOrganizationalUnitResponse.BuilderorganizationalUnit(Consumer<OrganizationalUnit.Builder> organizationalUnit)A structure that contains the details about the specified OU, including its new name.UpdateOrganizationalUnitResponse.BuilderorganizationalUnit(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 Detail
-
organizationalUnit
UpdateOrganizationalUnitResponse.Builder organizationalUnit(OrganizationalUnit 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.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)
-
-