@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Session extends Object implements Serializable, Cloneable, StructuredPojo
The details of the execute command session.
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
Session |
clone() |
boolean |
equals(Object obj) |
String |
getSessionId()
The ID of the execute command session.
|
String |
getStreamUrl()
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and
receive output from the container.
|
String |
getTokenValue()
An encrypted token value containing session and caller information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSessionId(String sessionId)
The ID of the execute command session.
|
void |
setStreamUrl(String streamUrl)
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and
receive output from the container.
|
void |
setTokenValue(String tokenValue)
An encrypted token value containing session and caller information.
|
String |
toString()
Returns a string representation of this object.
|
Session |
withSessionId(String sessionId)
The ID of the execute command session.
|
Session |
withStreamUrl(String streamUrl)
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and
receive output from the container.
|
Session |
withTokenValue(String tokenValue)
An encrypted token value containing session and caller information.
|
public void setSessionId(String sessionId)
The ID of the execute command session.
sessionId
- The ID of the execute command session.public String getSessionId()
The ID of the execute command session.
public Session withSessionId(String sessionId)
The ID of the execute command session.
sessionId
- The ID of the execute command session.public void setStreamUrl(String streamUrl)
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
streamUrl
- A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and
receive output from the container.public String getStreamUrl()
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
public Session withStreamUrl(String streamUrl)
A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and receive output from the container.
streamUrl
- A URL back to managed agent on the container that the SSM Session Manager client uses to send commands and
receive output from the container.public void setTokenValue(String tokenValue)
An encrypted token value containing session and caller information. Used to authenticate the connection to the container.
tokenValue
- An encrypted token value containing session and caller information. Used to authenticate the connection to
the container.public String getTokenValue()
An encrypted token value containing session and caller information. Used to authenticate the connection to the container.
public Session withTokenValue(String tokenValue)
An encrypted token value containing session and caller information. Used to authenticate the connection to the container.
tokenValue
- An encrypted token value containing session and caller information. Used to authenticate the connection to
the container.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.