Class UsernamePassword
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.UsernamePassword
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<UsernamePassword.Builder,UsernamePassword>
@Generated("software.amazon.awssdk:codegen") public final class UsernamePassword extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsernamePassword.Builder,UsernamePassword>
The username and password that you use to connect to cluster endpoints.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UsernamePassword.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsernamePassword.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
password()
The password associated with the temporary credentials that you use to connect to cluster endpoints.List<SdkField<?>>
sdkFields()
static Class<? extends UsernamePassword.Builder>
serializableBuilderClass()
UsernamePassword.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
username()
The username associated with the temporary credentials that you use to connect to cluster endpoints.-
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
-
username
public final String username()
The username associated with the temporary credentials that you use to connect to cluster endpoints.
- Returns:
- The username associated with the temporary credentials that you use to connect to cluster endpoints.
-
password
public final String password()
The password associated with the temporary credentials that you use to connect to cluster endpoints.
- Returns:
- The password associated with the temporary credentials that you use to connect to cluster endpoints.
-
toBuilder
public UsernamePassword.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UsernamePassword.Builder,UsernamePassword>
-
builder
public static UsernamePassword.Builder builder()
-
serializableBuilderClass
public static Class<? extends UsernamePassword.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.
-
-