@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParticipantTokenCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The credentials used by the participant.
| Constructor and Description | 
|---|
| ParticipantTokenCredentials() | 
| Modifier and Type | Method and Description | 
|---|---|
| ParticipantTokenCredentials | clone() | 
| boolean | equals(Object obj) | 
| String | getExpiry()
 The expiration of the token. | 
| String | getParticipantToken()
 The token used by the chat participant to call CreateParticipantConnection. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setExpiry(String expiry)
 The expiration of the token. | 
| void | setParticipantToken(String participantToken)
 The token used by the chat participant to call CreateParticipantConnection. | 
| String | toString()Returns a string representation of this object. | 
| ParticipantTokenCredentials | withExpiry(String expiry)
 The expiration of the token. | 
| ParticipantTokenCredentials | withParticipantToken(String participantToken)
 The token used by the chat participant to call CreateParticipantConnection. | 
public void setParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
participantToken - The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.public String getParticipantToken()
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
public ParticipantTokenCredentials withParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
participantToken - The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.public void setExpiry(String expiry)
The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
expiry - The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
        2019-11-08T02:41:28.172Z.public String getExpiry()
The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public ParticipantTokenCredentials withExpiry(String expiry)
The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
expiry - The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
        2019-11-08T02:41:28.172Z.public String toString()
toString in class ObjectObject.toString()public ParticipantTokenCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.