@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsernamePassword extends Object implements Serializable, Cloneable, StructuredPojo
The username and password that you use to connect to cluster endpoints.
Constructor and Description |
---|
UsernamePassword() |
Modifier and Type | Method and Description |
---|---|
UsernamePassword |
clone() |
boolean |
equals(Object obj) |
String |
getPassword()
The password associated with the temporary credentials that you use to connect to cluster endpoints.
|
String |
getUsername()
The username associated with the temporary credentials that you use to connect to cluster endpoints.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPassword(String password)
The password associated with the temporary credentials that you use to connect to cluster endpoints.
|
void |
setUsername(String username)
The username associated with the temporary credentials that you use to connect to cluster endpoints.
|
String |
toString()
Returns a string representation of this object.
|
UsernamePassword |
withPassword(String password)
The password associated with the temporary credentials that you use to connect to cluster endpoints.
|
UsernamePassword |
withUsername(String username)
The username associated with the temporary credentials that you use to connect to cluster endpoints.
|
public void setUsername(String username)
The username associated with the temporary credentials that you use to connect to cluster endpoints.
username
- The username associated with the temporary credentials that you use to connect to cluster endpoints.public String getUsername()
The username associated with the temporary credentials that you use to connect to cluster endpoints.
public UsernamePassword withUsername(String username)
The username associated with the temporary credentials that you use to connect to cluster endpoints.
username
- The username associated with the temporary credentials that you use to connect to cluster endpoints.public void setPassword(String password)
The password associated with the temporary credentials that you use to connect to cluster endpoints.
password
- The password associated with the temporary credentials that you use to connect to cluster endpoints.public String getPassword()
The password associated with the temporary credentials that you use to connect to cluster endpoints.
public UsernamePassword withPassword(String password)
The password associated with the temporary credentials that you use to connect to cluster endpoints.
password
- The password associated with the temporary credentials that you use to connect to cluster endpoints.public String toString()
toString
in class Object
Object.toString()
public UsernamePassword clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.