@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetConnectionResult() |
Modifier and Type | Method and Description |
---|---|
GetConnectionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getConnectedAt()
The time in ISO 8601 format for when the connection was established.
|
Identity |
getIdentity() |
Date |
getLastActiveAt()
The time in ISO 8601 format for when the connection was last active.
|
int |
hashCode() |
void |
setConnectedAt(Date connectedAt)
The time in ISO 8601 format for when the connection was established.
|
void |
setIdentity(Identity identity) |
void |
setLastActiveAt(Date lastActiveAt)
The time in ISO 8601 format for when the connection was last active.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionResult |
withConnectedAt(Date connectedAt)
The time in ISO 8601 format for when the connection was established.
|
GetConnectionResult |
withIdentity(Identity identity) |
GetConnectionResult |
withLastActiveAt(Date lastActiveAt)
The time in ISO 8601 format for when the connection was last active.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnectedAt(Date connectedAt)
The time in ISO 8601 format for when the connection was established.
connectedAt
- The time in ISO 8601 format for when the connection was established.public Date getConnectedAt()
The time in ISO 8601 format for when the connection was established.
public GetConnectionResult withConnectedAt(Date connectedAt)
The time in ISO 8601 format for when the connection was established.
connectedAt
- The time in ISO 8601 format for when the connection was established.public void setIdentity(Identity identity)
identity
- public Identity getIdentity()
public GetConnectionResult withIdentity(Identity identity)
identity
- public void setLastActiveAt(Date lastActiveAt)
The time in ISO 8601 format for when the connection was last active.
lastActiveAt
- The time in ISO 8601 format for when the connection was last active.public Date getLastActiveAt()
The time in ISO 8601 format for when the connection was last active.
public GetConnectionResult withLastActiveAt(Date lastActiveAt)
The time in ISO 8601 format for when the connection was last active.
lastActiveAt
- The time in ISO 8601 format for when the connection was last active.public String toString()
toString
in class Object
Object.toString()
public GetConnectionResult clone()