@Generated(value="software.amazon.awssdk:codegen") public final class EnableSsoRequest extends DirectoryRequest implements ToCopyableBuilder<EnableSsoRequest.Builder,EnableSsoRequest>
Contains the inputs for the EnableSso operation.
Modifier and Type | Class and Description |
---|---|
static interface |
EnableSsoRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static EnableSsoRequest.Builder |
builder() |
String |
directoryId()
The identifier of the directory for which to enable single-sign on.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
password()
The password of an alternate account to use to enable single-sign on.
|
static Class<? extends EnableSsoRequest.Builder> |
serializableBuilderClass() |
EnableSsoRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The username of an alternate account to use to enable single-sign on.
|
overrideConfiguration
copy
public String directoryId()
The identifier of the directory for which to enable single-sign on.
public 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.
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.
public 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.
public EnableSsoRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnableSsoRequest.Builder,EnableSsoRequest>
toBuilder
in class DirectoryRequest
public static EnableSsoRequest.Builder builder()
public static Class<? extends EnableSsoRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.