@Generated(value="software.amazon.awssdk:codegen") public final class Authentication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Authentication.Builder,Authentication>
Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Authentication.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Authentication.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
passwordCount()
The number of passwords belonging to the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Authentication.Builder> |
serializableBuilderClass() |
Authentication.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AuthenticationType |
type()
Indicates whether the user requires a password to authenticate.
|
String |
typeAsString()
Indicates whether the user requires a password to authenticate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AuthenticationType type()
Indicates whether the user requires a password to authenticate.
If the service returns an enum value that is not available in the current SDK version, type will return
AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AuthenticationTypepublic final String typeAsString()
Indicates whether the user requires a password to authenticate.
If the service returns an enum value that is not available in the current SDK version, type will return
AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AuthenticationTypepublic final Integer passwordCount()
The number of passwords belonging to the user. The maximum is two.
public Authentication.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Authentication.Builder,Authentication>public static Authentication.Builder builder()
public static Class<? extends Authentication.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.