@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)
Marshalls this structured data using the given
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.