@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 String oldPassword()
The IAM user's current password.
public String newPassword()
The new password. The new password must conform to the AWS 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 AWS 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 AWS
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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.