Interface DeregisterDelegatedAdministratorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeregisterDelegatedAdministratorRequest.Builder,,DeregisterDelegatedAdministratorRequest> OrganizationsRequest.Builder,SdkBuilder<DeregisterDelegatedAdministratorRequest.Builder,,DeregisterDelegatedAdministratorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeregisterDelegatedAdministratorRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID number of the member account in the organization that you want to deregister as a delegated administrator.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.servicePrincipal(String servicePrincipal) The service principal name of an Amazon Web Services service for which the account is a delegated administrator.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, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The account ID number of the member account in the organization that you want to deregister as a delegated administrator.
- Parameters:
accountId- The account ID number of the member account in the organization that you want to deregister as a delegated administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipal
The service principal name of an Amazon Web Services service for which the account is a delegated administrator.
Delegated administrator privileges are revoked for only the specified Amazon Web Services service from the member account. If the specified service is the only service for which the member account is a delegated administrator, the operation also revokes Organizations read action permissions.
- Parameters:
servicePrincipal- The service principal name of an Amazon Web Services service for which the account is a delegated administrator.Delegated administrator privileges are revoked for only the specified Amazon Web Services service from the member account. If the specified service is the only service for which the member account is a delegated administrator, the operation also revokes Organizations read action permissions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeregisterDelegatedAdministratorRequest.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
DeregisterDelegatedAdministratorRequest.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.
-