@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOpsItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeOpsItemsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOpsItemsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of items to return.
|
List<OpsItemSummary> |
getOpsItemSummaries()
A list of OpsItems.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setOpsItemSummaries(Collection<OpsItemSummary> opsItemSummaries)
A list of OpsItems.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOpsItemsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeOpsItemsResult |
withOpsItemSummaries(Collection<OpsItemSummary> opsItemSummaries)
A list of OpsItems.
|
DescribeOpsItemsResult |
withOpsItemSummaries(OpsItemSummary... opsItemSummaries)
A list of 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 DescribeOpsItemsResult 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<OpsItemSummary> getOpsItemSummaries()
A list of OpsItems.
public void setOpsItemSummaries(Collection<OpsItemSummary> opsItemSummaries)
A list of OpsItems.
opsItemSummaries
- A list of OpsItems.public DescribeOpsItemsResult withOpsItemSummaries(OpsItemSummary... opsItemSummaries)
A list of OpsItems.
NOTE: This method appends the values to the existing list (if any). Use
setOpsItemSummaries(java.util.Collection)
or withOpsItemSummaries(java.util.Collection)
if you
want to override the existing values.
opsItemSummaries
- A list of OpsItems.public DescribeOpsItemsResult withOpsItemSummaries(Collection<OpsItemSummary> opsItemSummaries)
A list of OpsItems.
opsItemSummaries
- A list of OpsItems.public String toString()
toString
in class Object
Object.toString()
public DescribeOpsItemsResult clone()