public class UpdateLoginProfileRequest 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 specified IAM user.
|
private java.lang.Boolean |
passwordResetRequired
Allows this new password to be used only once by requiring the specified
IAM user to set a new password on next sign-in.
|
private java.lang.String |
userName
The name of the user whose password you want to update.
|
NOOP
Constructor and Description |
---|
UpdateLoginProfileRequest()
Default constructor for UpdateLoginProfileRequest object.
|
UpdateLoginProfileRequest(java.lang.String userName)
Constructs a new UpdateLoginProfileRequest object.
|
Modifier and Type | Method and Description |
---|---|
UpdateLoginProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPassword()
The new password for the specified IAM user.
|
java.lang.Boolean |
getPasswordResetRequired()
Allows this new password to be used only once by requiring the specified
IAM user to set a new password on next sign-in.
|
java.lang.String |
getUserName()
The name of the user whose password you want to update.
|
int |
hashCode() |
java.lang.Boolean |
isPasswordResetRequired()
Allows this new password to be used only once by requiring the specified
IAM user to set a new password on next sign-in.
|
void |
setPassword(java.lang.String password)
The new password for the specified IAM user.
|
void |
setPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Allows this new password to be used only once by requiring the specified
IAM user to set a new password on next sign-in.
|
void |
setUserName(java.lang.String userName)
The name of the user whose password you want to update.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateLoginProfileRequest |
withPassword(java.lang.String password)
The new password for the specified IAM user.
|
UpdateLoginProfileRequest |
withPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Allows this new password to be used only once by requiring the specified
IAM user to set a new password on next sign-in.
|
UpdateLoginProfileRequest |
withUserName(java.lang.String userName)
The name of the user whose password you want to update.
|
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 user whose password you want to update.
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 specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
private java.lang.Boolean passwordResetRequired
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
public UpdateLoginProfileRequest()
public UpdateLoginProfileRequest(java.lang.String userName)
userName
- The name of the user whose password you want to update.
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 setUserName(java.lang.String userName)
The name of the user whose password you want to update.
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 user whose password you want to update.
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 user whose password you want to update.
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 UpdateLoginProfileRequest withUserName(java.lang.String userName)
The name of the user whose password you want to update.
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 user whose password you want to update.
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 specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
password
- The new password for the specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
public java.lang.String getPassword()
The new password for the specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
public UpdateLoginProfileRequest withPassword(java.lang.String password)
The new password for the specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
password
- The new password for the specified IAM user.
The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character ( ) through end of the ASCII character range (ÿ). It also includes the special characters tab ( ), line feed ( ), and carriage return ( ). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
public void setPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
passwordResetRequired
- Allows this new password to be used only once by requiring the
specified IAM user to set a new password on next sign-in.public java.lang.Boolean getPasswordResetRequired()
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
public UpdateLoginProfileRequest withPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
passwordResetRequired
- Allows this new password to be used only once by requiring the
specified IAM user to set a new password on next sign-in.public java.lang.Boolean isPasswordResetRequired()
Allows this new password to be used only once by requiring the specified IAM user 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 UpdateLoginProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()