@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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 IAM 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 IAM 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 IAM user to create a password for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateLoginProfileRequest()
public CreateLoginProfileRequest(String userName, String password)
userName
- The name of the IAM user to create a password for. The user must already exist.
This parameter allows (per its regex pattern) 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 used to validate 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(String userName)
The name of the IAM user to create a password for. The user must already exist.
This parameter allows (per its regex pattern) 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.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public String getUserName()
The name of the IAM user to create a password for. The user must already exist.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
This parameter allows (per its regex pattern) 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(String userName)
The name of the IAM user to create a password for. The user must already exist.
This parameter allows (per its regex pattern) 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.
This parameter allows (per its regex pattern) 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(String password)
The new password for the user.
The regex pattern used to validate 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 used to validate 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 String getPassword()
The new password for the user.
The regex pattern used to validate 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 used to validate 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(String password)
The new password for the user.
The regex pattern used to validate 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 used to validate 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(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.