@Generated(value="software.amazon.awssdk:codegen") public final class PasswordPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PasswordPolicy.Builder,PasswordPolicy>
Contains information about the account password policy.
This data type is used as a response element in the GetAccountPasswordPolicy operation.
Modifier and Type | Class and Description |
---|---|
static interface |
PasswordPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowUsersToChangePassword()
Specifies whether IAM users are allowed to change their own password.
|
static PasswordPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
Boolean |
expirePasswords()
Indicates whether passwords in the account expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
hardExpiry()
Specifies whether IAM users are prevented from setting a new password after their password has expired.
|
int |
hashCode() |
Integer |
maxPasswordAge()
The number of days that an IAM user password is valid.
|
Integer |
minimumPasswordLength()
Minimum length to require for IAM user passwords.
|
Integer |
passwordReusePrevention()
Specifies the number of previous passwords that IAM users are prevented from reusing.
|
Boolean |
requireLowercaseCharacters()
Specifies whether to require lowercase characters for IAM user passwords.
|
Boolean |
requireNumbers()
Specifies whether to require numbers for IAM user passwords.
|
Boolean |
requireSymbols()
Specifies whether to require symbols for IAM user passwords.
|
Boolean |
requireUppercaseCharacters()
Specifies whether to require uppercase characters for IAM user passwords.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PasswordPolicy.Builder> |
serializableBuilderClass() |
PasswordPolicy.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer minimumPasswordLength()
Minimum length to require for IAM user passwords.
public Boolean requireSymbols()
Specifies whether to require symbols for IAM user passwords.
public Boolean requireNumbers()
Specifies whether to require numbers for IAM user passwords.
public Boolean requireUppercaseCharacters()
Specifies whether to require uppercase characters for IAM user passwords.
public Boolean requireLowercaseCharacters()
Specifies whether to require lowercase characters for IAM user passwords.
public Boolean allowUsersToChangePassword()
Specifies whether IAM users are allowed to change their own password.
public Boolean expirePasswords()
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge
contains a value
greater than 0. Returns false if MaxPasswordAge is 0 or not present.
MaxPasswordAge
contains a
value greater than 0. Returns false if MaxPasswordAge is 0 or not present.public Integer maxPasswordAge()
The number of days that an IAM user password is valid.
public Integer passwordReusePrevention()
Specifies the number of previous passwords that IAM users are prevented from reusing.
public Boolean hardExpiry()
Specifies whether IAM users are prevented from setting a new password after their password has expired.
public PasswordPolicy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PasswordPolicy.Builder,PasswordPolicy>
public static PasswordPolicy.Builder builder()
public static Class<? extends PasswordPolicy.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.