public class CreateLoginProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLoginProfileRequest()
Default constructor for CreateLoginProfileRequest object.
|
CreateLoginProfileRequest(String userName,
String password)
Constructs a new CreateLoginProfileRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateLoginProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPassword()
The new password for the user.
|
Boolean |
getPasswordResetRequired()
Specifies whether the user is required to set a new password on next
sign-in.
|
String |
getUserName()
The name of the user to create a password for.
|
int |
hashCode() |
Boolean |
isPasswordResetRequired()
Specifies whether the user is required to set a new password on next
sign-in.
|
void |
setPassword(String password)
The new password for the user.
|
void |
setPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next
sign-in.
|
void |
setUserName(String userName)
The name of the user to create a password for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoginProfileRequest |
withPassword(String password)
The new password for the user.
|
CreateLoginProfileRequest |
withPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next
sign-in.
|
CreateLoginProfileRequest |
withUserName(String userName)
The name of the user to create a password for.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateLoginProfileRequest()
public CreateLoginProfileRequest(String userName, String password)
userName
- The name of the user to create a password for.password
- The new password for the user.public void setUserName(String userName)
The name of the user to create a password for.
userName
- The name of the user to create a password for.public String getUserName()
The name of the user to create a password for.
public CreateLoginProfileRequest withUserName(String userName)
The name of the user to create a password for.
userName
- The name of the user to create a password for.public void setPassword(String password)
The new password for the user.
password
- The new password for the user.public String getPassword()
The new password for the user.
public CreateLoginProfileRequest withPassword(String password)
The new password for the user.
password
- The new password for the user.public void setPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
passwordResetRequired
- Specifies whether the user is required to set a new password on
next sign-in.public Boolean getPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public CreateLoginProfileRequest withPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
passwordResetRequired
- Specifies whether the user is required to set a new password on
next sign-in.public Boolean isPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public String toString()
toString
in class Object
Object.toString()
public CreateLoginProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.