@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Credentials extends Object implements Serializable, Cloneable, StructuredPojo
The credentials that you can use to connect to cluster endpoints. Credentials consist of a username and a password.
Constructor and Description |
---|
Credentials() |
Modifier and Type | Method and Description |
---|---|
Credentials |
clone() |
boolean |
equals(Object obj) |
UsernamePassword |
getUsernamePassword()
The username and password that you use to connect to cluster endpoints.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setUsernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
|
String |
toString()
Returns a string representation of this object.
|
Credentials |
withUsernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
|
public void setUsernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
usernamePassword
- The username and password that you use to connect to cluster endpoints.public UsernamePassword getUsernamePassword()
The username and password that you use to connect to cluster endpoints.
public Credentials withUsernamePassword(UsernamePassword usernamePassword)
The username and password that you use to connect to cluster endpoints.
usernamePassword
- The username and password that you use to connect to cluster endpoints.public String toString()
toString
in class Object
Object.toString()
public Credentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.