Interface EnableSsoRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<EnableSsoRequest.Builder,,EnableSsoRequest> DirectoryRequest.Builder,SdkBuilder<EnableSsoRequest.Builder,,EnableSsoRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
EnableSsoRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId(String directoryId) The identifier of the directory for which to enable single-sign on.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password of an alternate account to use to enable single-sign on.The username of an alternate account to use to enable single-sign on.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.directory.model.DirectoryRequest.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
-
directoryId
The identifier of the directory for which to enable single-sign on.
- Parameters:
directoryId- The identifier of the directory for which to enable single-sign on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.
If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
- Parameters:
userName- The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
- Parameters:
password- The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableSsoRequest.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
EnableSsoRequest.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.
-