@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
Details about a WebSocket connection.
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
Date |
getCreated()
The date and time when the connection was created.
|
String |
getId()
The identifier used to indicate a specific WebSocket connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreated(Date created)
The date and time when the connection was created.
|
void |
setId(String id)
The identifier used to indicate a specific WebSocket connection.
|
String |
toString()
Returns a string representation of this object.
|
Connection |
withCreated(Date created)
The date and time when the connection was created.
|
Connection |
withId(String id)
The identifier used to indicate a specific WebSocket connection.
|
public void setCreated(Date created)
The date and time when the connection was created.
created - The date and time when the connection was created.public Date getCreated()
The date and time when the connection was created.
public Connection withCreated(Date created)
The date and time when the connection was created.
created - The date and time when the connection was created.public void setId(String id)
The identifier used to indicate a specific WebSocket connection.
id - The identifier used to indicate a specific WebSocket connection.public String getId()
The identifier used to indicate a specific WebSocket connection.
public Connection withId(String id)
The identifier used to indicate a specific WebSocket connection.
id - The identifier used to indicate a specific WebSocket connection.public String toString()
toString in class ObjectObject.toString()public Connection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.