Class EnableSsoRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.directory.model.DirectoryRequest
-
- software.amazon.awssdk.services.directory.model.EnableSsoRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<EnableSsoRequest.Builder,EnableSsoRequest>
@Generated("software.amazon.awssdk:codegen") public final class EnableSsoRequest extends DirectoryRequest implements ToCopyableBuilder<EnableSsoRequest.Builder,EnableSsoRequest>
Contains the inputs for the EnableSso operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnableSsoRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnableSsoRequest.Builderbuilder()StringdirectoryId()The identifier of the directory for which to enable single-sign on.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpassword()The password of an alternate account to use to enable single-sign on.List<SdkField<?>>sdkFields()static Class<? extends EnableSsoRequest.Builder>serializableBuilderClass()EnableSsoRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserName()The username of an alternate account to use to enable single-sign on.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryId
public final String directoryId()
The identifier of the directory for which to enable single-sign on.
- Returns:
- The identifier of the directory for which to enable single-sign on.
-
userName
public final String 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:
- 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.
-
password
public final String 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:
- 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.
-
toBuilder
public EnableSsoRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnableSsoRequest.Builder,EnableSsoRequest>- Specified by:
toBuilderin classDirectoryRequest
-
builder
public static EnableSsoRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnableSsoRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-