Class Authentication
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.Authentication
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Authentication.Builder,Authentication>
@Generated("software.amazon.awssdk:codegen") public final class Authentication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Authentication.Builder,Authentication>
Indicates whether the user requires a password to authenticate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Authentication.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public 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 returnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Indicates whether the user requires a password to authenticate.
- See Also:
AuthenticationType
-
typeAsString
public 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 returnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Indicates whether the user requires a password to authenticate.
- See Also:
AuthenticationType
-
passwordCount
public final Integer passwordCount()
The number of passwords belonging to the user. The maximum is two.
- Returns:
- The number of passwords belonging to the user. The maximum is two.
-
toBuilder
public Authentication.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Authentication.Builder,Authentication>
-
builder
public static Authentication.Builder builder()
-
serializableBuilderClass
public static Class<? extends Authentication.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-