@Generated(value="software.amazon.awssdk:codegen") public class CreateLoginProfileRequest extends IAMRequest implements ToCopyableBuilder<CreateLoginProfileRequest.Builder,CreateLoginProfileRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateLoginProfileRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateLoginProfileRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
password()
The new password for the user.
|
Boolean |
passwordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
|
static Class<? extends CreateLoginProfileRequest.Builder> |
serializableBuilderClass() |
CreateLoginProfileRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The name of the IAM user to create a password for.
|
requestOverrideConfig
copy
public 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: =,.@-
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 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.
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 Boolean passwordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public CreateLoginProfileRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateLoginProfileRequest.Builder,CreateLoginProfileRequest>
toBuilder
in class IAMRequest
public static CreateLoginProfileRequest.Builder builder()
public static Class<? extends CreateLoginProfileRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.