public class EnableSsoRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the EnableSso operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryId
The identifier of the directory for which to enable single-sign on.
|
private java.lang.String |
password
The password of an alternate account to use to enable single-sign on.
|
private java.lang.String |
userName
The username of an alternate account to use to enable single-sign on.
|
NOOP
Constructor and Description |
---|
EnableSsoRequest() |
Modifier and Type | Method and Description |
---|---|
EnableSsoRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDirectoryId()
The identifier of the directory for which to enable single-sign on.
|
java.lang.String |
getPassword()
The password of an alternate account to use to enable single-sign on.
|
java.lang.String |
getUserName()
The username of an alternate account to use to enable single-sign on.
|
int |
hashCode() |
void |
setDirectoryId(java.lang.String directoryId)
The identifier of the directory for which to enable single-sign on.
|
void |
setPassword(java.lang.String password)
The password of an alternate account to use to enable single-sign on.
|
void |
setUserName(java.lang.String userName)
The username of an alternate account to use to enable single-sign on.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableSsoRequest |
withDirectoryId(java.lang.String directoryId)
The identifier of the directory for which to enable single-sign on.
|
EnableSsoRequest |
withPassword(java.lang.String password)
The password of an alternate account to use to enable single-sign on.
|
EnableSsoRequest |
withUserName(java.lang.String userName)
The username of an alternate account to use to enable single-sign on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String directoryId
The identifier of the directory for which to enable single-sign on.
private java.lang.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.
private java.lang.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 void setDirectoryId(java.lang.String directoryId)
The identifier of the directory for which to enable single-sign on.
directoryId
- The identifier of the directory for which to enable single-sign
on.public java.lang.String getDirectoryId()
The identifier of the directory for which to enable single-sign on.
public EnableSsoRequest withDirectoryId(java.lang.String directoryId)
The identifier of the directory for which to enable single-sign on.
directoryId
- The identifier of the directory for which to enable single-sign
on.public void setUserName(java.lang.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.
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.
public java.lang.String getUserName()
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 EnableSsoRequest withUserName(java.lang.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.
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.
public void setPassword(java.lang.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.
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 java.lang.String getPassword()
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 withPassword(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnableSsoRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()