@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOpsItemEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOpsItemEventsResult() |
Modifier and Type | Method and Description |
---|---|
ListOpsItemEventsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of items to return.
|
List<OpsItemEventSummary> |
getSummaries()
A list of event information for the specified OpsItems.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setSummaries(Collection<OpsItemEventSummary> summaries)
A list of event information for the specified OpsItems.
|
String |
toString()
Returns a string representation of this object.
|
ListOpsItemEventsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
ListOpsItemEventsResult |
withSummaries(Collection<OpsItemEventSummary> summaries)
A list of event information for the specified OpsItems.
|
ListOpsItemEventsResult |
withSummaries(OpsItemEventSummary... summaries)
A list of event information for the specified OpsItems.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public ListOpsItemEventsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public List<OpsItemEventSummary> getSummaries()
A list of event information for the specified OpsItems.
public void setSummaries(Collection<OpsItemEventSummary> summaries)
A list of event information for the specified OpsItems.
summaries
- A list of event information for the specified OpsItems.public ListOpsItemEventsResult withSummaries(OpsItemEventSummary... summaries)
A list of event information for the specified OpsItems.
NOTE: This method appends the values to the existing list (if any). Use
setSummaries(java.util.Collection)
or withSummaries(java.util.Collection)
if you want to
override the existing values.
summaries
- A list of event information for the specified OpsItems.public ListOpsItemEventsResult withSummaries(Collection<OpsItemEventSummary> summaries)
A list of event information for the specified OpsItems.
summaries
- A list of event information for the specified OpsItems.public String toString()
toString
in class Object
Object.toString()
public ListOpsItemEventsResult clone()