@Generated(value="software.amazon.awssdk:codegen") public class LoginProfile extends Object implements ToCopyableBuilder<LoginProfile.Builder,LoginProfile>
Contains the user name and password create date for a user.
This data type is used as a response element in the CreateLoginProfile and GetLoginProfile actions.
Modifier and Type | Class and Description |
---|---|
static interface |
LoginProfile.Builder |
Modifier and Type | Method and Description |
---|---|
static LoginProfile.Builder |
builder() |
Instant |
createDate()
The date when the password for the user was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
passwordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
|
static Class<? extends LoginProfile.Builder> |
serializableBuilderClass() |
LoginProfile.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 user, which can be used for signing in to the AWS Management Console.
|
copy
public String userName()
The name of the user, which can be used for signing in to the AWS Management Console.
public Instant createDate()
The date when the password for the user was created.
public Boolean passwordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public LoginProfile.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoginProfile.Builder,LoginProfile>
public static LoginProfile.Builder builder()
public static Class<? extends LoginProfile.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.