@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssignedSession extends Object implements Serializable, Cloneable, StructuredPojo
The assigned session for the worker.
Constructor and Description |
---|
AssignedSession() |
Modifier and Type | Method and Description |
---|---|
AssignedSession |
clone() |
boolean |
equals(Object obj) |
String |
getJobId()
The job ID for the assigned session.
|
LogConfiguration |
getLogConfiguration()
The log configuration for the worker's assigned session.
|
String |
getQueueId()
The queue ID of the assigned session.
|
List<AssignedSessionAction> |
getSessionActions()
The session actions to apply to the assigned session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJobId(String jobId)
The job ID for the assigned session.
|
void |
setLogConfiguration(LogConfiguration logConfiguration)
The log configuration for the worker's assigned session.
|
void |
setQueueId(String queueId)
The queue ID of the assigned session.
|
void |
setSessionActions(Collection<AssignedSessionAction> sessionActions)
The session actions to apply to the assigned session.
|
String |
toString()
Returns a string representation of this object.
|
AssignedSession |
withJobId(String jobId)
The job ID for the assigned session.
|
AssignedSession |
withLogConfiguration(LogConfiguration logConfiguration)
The log configuration for the worker's assigned session.
|
AssignedSession |
withQueueId(String queueId)
The queue ID of the assigned session.
|
AssignedSession |
withSessionActions(AssignedSessionAction... sessionActions)
The session actions to apply to the assigned session.
|
AssignedSession |
withSessionActions(Collection<AssignedSessionAction> sessionActions)
The session actions to apply to the assigned session.
|
public void setJobId(String jobId)
The job ID for the assigned session.
jobId
- The job ID for the assigned session.public String getJobId()
The job ID for the assigned session.
public AssignedSession withJobId(String jobId)
The job ID for the assigned session.
jobId
- The job ID for the assigned session.public void setLogConfiguration(LogConfiguration logConfiguration)
The log configuration for the worker's assigned session.
logConfiguration
- The log configuration for the worker's assigned session.public LogConfiguration getLogConfiguration()
The log configuration for the worker's assigned session.
public AssignedSession withLogConfiguration(LogConfiguration logConfiguration)
The log configuration for the worker's assigned session.
logConfiguration
- The log configuration for the worker's assigned session.public void setQueueId(String queueId)
The queue ID of the assigned session.
queueId
- The queue ID of the assigned session.public String getQueueId()
The queue ID of the assigned session.
public AssignedSession withQueueId(String queueId)
The queue ID of the assigned session.
queueId
- The queue ID of the assigned session.public List<AssignedSessionAction> getSessionActions()
The session actions to apply to the assigned session.
public void setSessionActions(Collection<AssignedSessionAction> sessionActions)
The session actions to apply to the assigned session.
sessionActions
- The session actions to apply to the assigned session.public AssignedSession withSessionActions(AssignedSessionAction... sessionActions)
The session actions to apply to the assigned session.
NOTE: This method appends the values to the existing list (if any). Use
setSessionActions(java.util.Collection)
or withSessionActions(java.util.Collection)
if you want
to override the existing values.
sessionActions
- The session actions to apply to the assigned session.public AssignedSession withSessionActions(Collection<AssignedSessionAction> sessionActions)
The session actions to apply to the assigned session.
sessionActions
- The session actions to apply to the assigned session.public String toString()
toString
in class Object
Object.toString()
public AssignedSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.