@Generated(value="software.amazon.awssdk:codegen") public final class ChangePasswordRequest extends IamRequest implements ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChangePasswordRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChangePasswordRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
newPassword()
The new password.
|
String |
oldPassword()
The IAM user's current password.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChangePasswordRequest.Builder> |
serializableBuilderClass() |
ChangePasswordRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String oldPassword()
The IAM user's current password.
public final String newPassword()
The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists.
The regex pattern that is used to validate this parameter is a
string of characters. That string can include almost any printable ASCII character from the space (
) through the end of the ASCII character range (ÿ). You can also include the tab (
), line feed (
), and carriage return (
) characters. Any
of these characters are valid in a password. However, many tools, such as the Amazon Web Services Management
Console, might restrict the ability to type certain characters because they have special meaning within that
tool.
The regex pattern that is used to validate this parameter
is a string of characters. That string can include almost any printable ASCII character from the space (
) through the end of the ASCII character range (ÿ). You can also
include the tab ( ), line feed (
), and carriage return (
) characters. Any of these characters are valid in a password. However, many tools, such as the Amazon
Web Services Management Console, might restrict the ability to type certain characters because they have
special meaning within that tool.
public ChangePasswordRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChangePasswordRequest.Builder,ChangePasswordRequest>toBuilder in class IamRequestpublic static ChangePasswordRequest.Builder builder()
public static Class<? extends ChangePasswordRequest.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.