@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAgentMemoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAgentMemoryResult() |
Modifier and Type | Method and Description |
---|---|
GetAgentMemoryResult |
clone() |
boolean |
equals(Object obj) |
List<Memory> |
getMemoryContents()
Contains details of the sessions stored in the memory
|
String |
getNextToken()
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the
nextToken field to return the next batch of results. |
int |
hashCode() |
void |
setMemoryContents(Collection<Memory> memoryContents)
Contains details of the sessions stored in the memory
|
void |
setNextToken(String nextToken)
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the
nextToken field to return the next batch of results. |
String |
toString()
Returns a string representation of this object.
|
GetAgentMemoryResult |
withMemoryContents(Collection<Memory> memoryContents)
Contains details of the sessions stored in the memory
|
GetAgentMemoryResult |
withMemoryContents(Memory... memoryContents)
Contains details of the sessions stored in the memory
|
GetAgentMemoryResult |
withNextToken(String nextToken)
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the
nextToken field to return the next batch of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Memory> getMemoryContents()
Contains details of the sessions stored in the memory
public void setMemoryContents(Collection<Memory> memoryContents)
Contains details of the sessions stored in the memory
memoryContents
- Contains details of the sessions stored in the memorypublic GetAgentMemoryResult withMemoryContents(Memory... memoryContents)
Contains details of the sessions stored in the memory
NOTE: This method appends the values to the existing list (if any). Use
setMemoryContents(java.util.Collection)
or withMemoryContents(java.util.Collection)
if you want
to override the existing values.
memoryContents
- Contains details of the sessions stored in the memorypublic GetAgentMemoryResult withMemoryContents(Collection<Memory> memoryContents)
Contains details of the sessions stored in the memory
memoryContents
- Contains details of the sessions stored in the memorypublic void setNextToken(String nextToken)
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the nextToken
field to return the next batch of results.
nextToken
- If the total number of results is greater than the maxItems value provided in the request, use this token
when making another request in the nextToken
field to return the next batch of results.public String getNextToken()
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the nextToken
field to return the next batch of results.
nextToken
field to return the next batch of results.public GetAgentMemoryResult withNextToken(String nextToken)
If the total number of results is greater than the maxItems value provided in the request, use this token when
making another request in the nextToken
field to return the next batch of results.
nextToken
- If the total number of results is greater than the maxItems value provided in the request, use this token
when making another request in the nextToken
field to return the next batch of results.public String toString()
toString
in class Object
Object.toString()
public GetAgentMemoryResult clone()