@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Credential extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Credential() |
| Modifier and Type | Method and Description |
|---|---|
Credential |
clone() |
boolean |
equals(Object obj) |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toString()
Returns a string representation of this object.
|
Credential |
withPassword(String password) |
Credential |
withUsername(String username) |
public void setUsername(String username)
username - public String getUsername()
public Credential withUsername(String username)
username - public void setPassword(String password)
password - public String getPassword()
public Credential withPassword(String password)
password - public String toString()
toString in class ObjectObject.toString()public Credential clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.