@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContextsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListContextsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListContextsResult |
clone() |
boolean |
equals(Object obj) |
List<ContextSummary> |
getContextSummaries()
A list of contexts and their properties.
|
String |
getNextToken()
A token for getting the next set of contexts, if there are any.
|
int |
hashCode() |
void |
setContextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
|
void |
setNextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
|
String |
toString()
Returns a string representation of this object.
|
ListContextsResult |
withContextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
|
ListContextsResult |
withContextSummaries(ContextSummary... contextSummaries)
A list of contexts and their properties.
|
ListContextsResult |
withNextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ContextSummary> getContextSummaries()
A list of contexts and their properties.
public void setContextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
contextSummaries - A list of contexts and their properties.public ListContextsResult withContextSummaries(ContextSummary... contextSummaries)
A list of contexts and their properties.
NOTE: This method appends the values to the existing list (if any). Use
setContextSummaries(java.util.Collection) or withContextSummaries(java.util.Collection) if you
want to override the existing values.
contextSummaries - A list of contexts and their properties.public ListContextsResult withContextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
contextSummaries - A list of contexts and their properties.public void setNextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
nextToken - A token for getting the next set of contexts, if there are any.public String getNextToken()
A token for getting the next set of contexts, if there are any.
public ListContextsResult withNextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
nextToken - A token for getting the next set of contexts, if there are any.public String toString()
toString in class ObjectObject.toString()public ListContextsResult clone()