@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Credential extends Object implements Serializable, Cloneable, StructuredPojo
The SIP credentials used to authenticate requests to your Amazon Chime Voice Connector.
| Constructor and Description |
|---|
Credential() |
| Modifier and Type | Method and Description |
|---|---|
Credential |
clone() |
boolean |
equals(Object obj) |
String |
getPassword()
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
|
String |
getUsername()
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPassword(String password)
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
|
void |
setUsername(String username)
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
|
String |
toString()
Returns a string representation of this object.
|
Credential |
withPassword(String password)
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
|
Credential |
withUsername(String username)
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
|
public void setUsername(String username)
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
username - The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.public String getUsername()
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
public Credential withUsername(String username)
The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.
username - The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII format.public void setPassword(String password)
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
password - The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.public String getPassword()
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
public Credential withPassword(String password)
The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.
password - The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.public String toString()
toString in class ObjectObject.toString()public Credential clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.