public class Websocket
extends java.lang.Object
implements java.io.Serializable
The websocket for the participant's connection.
| Constructor and Description |
|---|
Websocket() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConnectionExpiry()
The URL expiration timestamp in ISO date format.
|
java.lang.String |
getUrl()
The URL of the websocket.
|
int |
hashCode() |
void |
setConnectionExpiry(java.lang.String connectionExpiry)
The URL expiration timestamp in ISO date format.
|
void |
setUrl(java.lang.String url)
The URL of the websocket.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Websocket |
withConnectionExpiry(java.lang.String connectionExpiry)
The URL expiration timestamp in ISO date format.
|
Websocket |
withUrl(java.lang.String url)
The URL of the websocket.
|
public java.lang.String getUrl()
The URL of the websocket.
Constraints:
Length: 1 - 2000
The URL of the websocket.
public void setUrl(java.lang.String url)
The URL of the websocket.
Constraints:
Length: 1 - 2000
url - The URL of the websocket.
public Websocket withUrl(java.lang.String url)
The URL of the websocket.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
url - The URL of the websocket.
public java.lang.String getConnectionExpiry()
The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public void setConnectionExpiry(java.lang.String connectionExpiry)
The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
connectionExpiry - The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public Websocket withConnectionExpiry(java.lang.String connectionExpiry)
The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
Returns a reference to this object so that method calls can be chained together.
connectionExpiry - The URL expiration timestamp in ISO date format.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.