Interface DeleteOrganizationalUnitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteOrganizationalUnitRequest.Builder,,DeleteOrganizationalUnitRequest> OrganizationsRequest.Builder,SdkBuilder<DeleteOrganizationalUnitRequest.Builder,,DeleteOrganizationalUnitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteOrganizationalUnitRequest
public static interface DeleteOrganizationalUnitRequest.Builder
extends OrganizationsRequest.Builder, SdkPojo, CopyableBuilder<DeleteOrganizationalUnitRequest.Builder,DeleteOrganizationalUnitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionorganizationalUnitId(String organizationalUnitId) The unique identifier (ID) of the organizational unit that you want to delete.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
organizationalUnitId
The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation.
The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
- Parameters:
organizationalUnitId- The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation.The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteOrganizationalUnitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteOrganizationalUnitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-