@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAccountPasswordPolicyRequest extends IamRequest implements ToCopyableBuilder<UpdateAccountPasswordPolicyRequest.Builder,UpdateAccountPasswordPolicyRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateAccountPasswordPolicyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowUsersToChangePassword()
Allows all IAM users in your account to use the AWS Management Console to change their own passwords.
|
static UpdateAccountPasswordPolicyRequest.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 . |
Boolean |
hardExpiry()
Prevents IAM users 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()
The minimum number of characters allowed in an IAM user password.
|
Integer |
passwordReusePrevention()
Specifies the number of previous passwords that IAM users are prevented from reusing.
|
Boolean |
requireLowercaseCharacters()
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin
alphabet (a to z).
|
Boolean |
requireNumbers()
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
|
Boolean |
requireSymbols()
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
|
Boolean |
requireUppercaseCharacters()
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin
alphabet (A to Z).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAccountPasswordPolicyRequest.Builder> |
serializableBuilderClass() |
UpdateAccountPasswordPolicyRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public Integer minimumPasswordLength()
The minimum number of characters allowed in an IAM user password.
If you do not specify a value for this parameter, then the operation uses the default value of 6
.
If you do not specify a value for this parameter, then the operation uses the default value of
6
.
public Boolean requireSymbols()
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one symbol character.
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that passwords do not require at least one symbol character.
public Boolean requireNumbers()
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one numeric character.
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that passwords do not require at least one numeric character.
public Boolean requireUppercaseCharacters()
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one uppercase character.
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that passwords do not require at least one uppercase character.
public Boolean requireLowercaseCharacters()
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one lowercase character.
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that passwords do not require at least one lowercase character.
public Boolean allowUsersToChangePassword()
Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM Users Change Their Own Passwords in the IAM User Guide.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users in the account do not automatically have permissions to change their own password.
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that IAM users in the account do not automatically have permissions to
change their own password.
public Integer maxPasswordAge()
The number of days that an IAM user password is valid.
If you do not specify a value for this parameter, then the operation uses the default value of 0
.
The result is that IAM user passwords never expire.
If you do not specify a value for this parameter, then the operation uses the default value of
0
. The result is that IAM user passwords never expire.
public Integer passwordReusePrevention()
Specifies the number of previous passwords that IAM users are prevented from reusing.
If you do not specify a value for this parameter, then the operation uses the default value of 0
.
The result is that IAM users are not prevented from reusing previous passwords.
If you do not specify a value for this parameter, then the operation uses the default value of
0
. The result is that IAM users are not prevented from reusing previous passwords.
public Boolean hardExpiry()
Prevents IAM users from setting a new password after their password has expired. The IAM user cannot be accessed until an administrator resets the password.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users can change their passwords after they expire and continue to sign in as the user.
If you do not specify a value for this parameter, then the operation uses the default value of
false
. The result is that IAM users can change their passwords after they expire and
continue to sign in as the user.
public UpdateAccountPasswordPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateAccountPasswordPolicyRequest.Builder,UpdateAccountPasswordPolicyRequest>
toBuilder
in class IamRequest
public static UpdateAccountPasswordPolicyRequest.Builder builder()
public static Class<? extends UpdateAccountPasswordPolicyRequest.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.