@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 Amazon Web Services Management Console to change their own
passwords.
|
static UpdateAccountPasswordPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
hardExpiry()
Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
new console 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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final 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 final 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 final 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 final Boolean allowUsersToChangePassword()
Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own passwords. For more information, see Permitting IAM users to 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 final 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 final 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 final Boolean hardExpiry()
Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a new console password after their password has expired. The IAM user cannot access the console 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.
In the Amazon Web Services Management Console, the custom password policy option Allow users to change their
own password gives IAM users permissions to iam:ChangePassword for only their user and to the
iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each user,
rather the permissions are applied at the account-level for all users by IAM. IAM users with
iam:ChangePassword permission and active access keys can reset their own expired console password
using the CLI or API.
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.
In the Amazon Web Services Management Console, the custom password policy option Allow users to change
their own password gives IAM users permissions to iam:ChangePassword for only their user
and to the iam:GetAccountPasswordPolicy action. This option does not attach a permissions
policy to each user, rather the permissions are applied at the account-level for all users by IAM. IAM
users with iam:ChangePassword permission and active access keys can reset their own expired
console password using the CLI or API.
public UpdateAccountPasswordPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAccountPasswordPolicyRequest.Builder,UpdateAccountPasswordPolicyRequest>toBuilder in class IamRequestpublic static UpdateAccountPasswordPolicyRequest.Builder builder()
public static Class<? extends UpdateAccountPasswordPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.