@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOpsItemRelatedItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOpsItemRelatedItemsResult() |
Modifier and Type | Method and Description |
---|---|
ListOpsItemRelatedItemsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of items to return.
|
List<OpsItemRelatedItemSummary> |
getSummaries()
A list of related-item resources for the specified OpsItem.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setSummaries(Collection<OpsItemRelatedItemSummary> summaries)
A list of related-item resources for the specified OpsItem.
|
String |
toString()
Returns a string representation of this object.
|
ListOpsItemRelatedItemsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
ListOpsItemRelatedItemsResult |
withSummaries(Collection<OpsItemRelatedItemSummary> summaries)
A list of related-item resources for the specified OpsItem.
|
ListOpsItemRelatedItemsResult |
withSummaries(OpsItemRelatedItemSummary... summaries)
A list of related-item resources for the specified OpsItem.
|
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 ListOpsItemRelatedItemsResult 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<OpsItemRelatedItemSummary> getSummaries()
A list of related-item resources for the specified OpsItem.
public void setSummaries(Collection<OpsItemRelatedItemSummary> summaries)
A list of related-item resources for the specified OpsItem.
summaries
- A list of related-item resources for the specified OpsItem.public ListOpsItemRelatedItemsResult withSummaries(OpsItemRelatedItemSummary... summaries)
A list of related-item resources for the specified OpsItem.
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 related-item resources for the specified OpsItem.public ListOpsItemRelatedItemsResult withSummaries(Collection<OpsItemRelatedItemSummary> summaries)
A list of related-item resources for the specified OpsItem.
summaries
- A list of related-item resources for the specified OpsItem.public String toString()
toString
in class Object
Object.toString()
public ListOpsItemRelatedItemsResult clone()
Copyright © 2023. All rights reserved.