public class CreateLoginProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
password
The new password for the user.
|
private java.lang.Boolean |
passwordResetRequired
Specifies whether the user is required to set a new password on next
sign-in.
|
private java.lang.String |
userName
The name of the IAM user to create a password for.
|
NOOP
Constructor and Description |
---|
CreateLoginProfileRequest()
Default constructor for CreateLoginProfileRequest object.
|
CreateLoginProfileRequest(java.lang.String userName,
java.lang.String password)
Constructs a new CreateLoginProfileRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateLoginProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPassword()
The new password for the user.
|
java.lang.Boolean |
getPasswordResetRequired()
Specifies whether the user is required to set a new password on next
sign-in.
|
java.lang.String |
getUserName()
The name of the IAM user to create a password for.
|
int |
hashCode() |
java.lang.Boolean |
isPasswordResetRequired()
Specifies whether the user is required to set a new password on next
sign-in.
|
void |
setPassword(java.lang.String password)
The new password for the user.
|
void |
setPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next
sign-in.
|
void |
setUserName(java.lang.String userName)
The name of the IAM user to create a password for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoginProfileRequest |
withPassword(java.lang.String password)
The new password for the user.
|
CreateLoginProfileRequest |
withPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next
sign-in.
|
CreateLoginProfileRequest |
withUserName(java.lang.String userName)
The name of the IAM user to create a password for.
|
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 userName
The name of the IAM user to create a password for. The user must already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
private java.lang.String password
The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
private java.lang.Boolean passwordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
public CreateLoginProfileRequest()
public CreateLoginProfileRequest(java.lang.String userName, java.lang.String password)
userName
- The name of the IAM user to create a password for. The user must
already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
password
- The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
public void setUserName(java.lang.String userName)
The name of the IAM user to create a password for. The user must already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the IAM user to create a password for. The user must
already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String getUserName()
The name of the IAM user to create a password for. The user must already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public CreateLoginProfileRequest withUserName(java.lang.String userName)
The name of the IAM user to create a password for. The user must already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the IAM user to create a password for. The user must
already exist.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public void setPassword(java.lang.String password)
The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
password
- The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
public java.lang.String getPassword()
The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
public CreateLoginProfileRequest withPassword(java.lang.String password)
The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
password
- The new password for the user.
The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space ( ) through the end of the ASCII character range (ÿ). You can also include the tab ( ), line feed ( ), and carriage return ( ) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.
public void setPasswordResetRequired(java.lang.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 java.lang.Boolean getPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public CreateLoginProfileRequest withPasswordResetRequired(java.lang.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 java.lang.Boolean isPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
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 CreateLoginProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()