Class LoginProfile
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.LoginProfile
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LoginProfile.Builder,LoginProfile>
@Generated("software.amazon.awssdk:codegen") public final class LoginProfile extends Object implements SdkPojo, Serializable, 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 operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoginProfile.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoginProfile.Builderbuilder()InstantcreateDate()The date when the password for the user was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanpasswordResetRequired()Specifies whether the user is required to set a new password on next sign-in.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LoginProfile.Builder>serializableBuilderClass()LoginProfile.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserName()The name of the user, which can be used for signing in to the Amazon Web Services Management Console.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
userName
public final String userName()
The name of the user, which can be used for signing in to the Amazon Web Services Management Console.
- Returns:
- The name of the user, which can be used for signing in to the Amazon Web Services Management Console.
-
createDate
public final Instant createDate()
The date when the password for the user was created.
- Returns:
- The date when the password for the user was created.
-
passwordResetRequired
public final Boolean passwordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
- Returns:
- Specifies whether the user is required to set a new password on next sign-in.
-
toBuilder
public LoginProfile.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LoginProfile.Builder,LoginProfile>
-
builder
public static LoginProfile.Builder builder()
-
serializableBuilderClass
public static Class<? extends LoginProfile.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-