@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.