Class EnableSsoRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.EnableSsoRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class EnableSsoRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the EnableSso operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description EnableSsoRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableSsoRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDirectoryId()
The identifier of the directory for which to enable single-sign on.String
getPassword()
The password of an alternate account to use to enable single-sign on.String
getUserName()
The username of an alternate account to use to enable single-sign on.int
hashCode()
void
setDirectoryId(String directoryId)
The identifier of the directory for which to enable single-sign on.void
setPassword(String password)
The password of an alternate account to use to enable single-sign on.void
setUserName(String userName)
The username of an alternate account to use to enable single-sign on.String
toString()
Returns a string representation of this object; useful for testing and debugging.EnableSsoRequest
withDirectoryId(String directoryId)
The identifier of the directory for which to enable single-sign on.EnableSsoRequest
withPassword(String password)
The password of an alternate account to use to enable single-sign on.EnableSsoRequest
withUserName(String userName)
The username of an alternate account to use to enable single-sign on.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String 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.
-
getDirectoryId
public String getDirectoryId()
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.
-
withDirectoryId
public EnableSsoRequest withDirectoryId(String 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.
-
setUserName
public void setUserName(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.
- 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.
-
getUserName
public 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.
- 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.
-
withUserName
public EnableSsoRequest withUserName(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.
- 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.
-
setPassword
public void setPassword(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.
- 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.
-
getPassword
public 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.
- 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.
-
withPassword
public EnableSsoRequest withPassword(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.
- 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EnableSsoRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-