@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListComplianceItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListComplianceItemsResult() |
Modifier and Type | Method and Description |
---|---|
ListComplianceItemsResult |
clone() |
boolean |
equals(Object obj) |
List<ComplianceItem> |
getComplianceItems()
A list of compliance information for the specified resource ID.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setComplianceItems(Collection<ComplianceItem> complianceItems)
A list of compliance information for the specified resource ID.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListComplianceItemsResult |
withComplianceItems(Collection<ComplianceItem> complianceItems)
A list of compliance information for the specified resource ID.
|
ListComplianceItemsResult |
withComplianceItems(ComplianceItem... complianceItems)
A list of compliance information for the specified resource ID.
|
ListComplianceItemsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ComplianceItem> getComplianceItems()
A list of compliance information for the specified resource ID.
public void setComplianceItems(Collection<ComplianceItem> complianceItems)
A list of compliance information for the specified resource ID.
complianceItems
- A list of compliance information for the specified resource ID.public ListComplianceItemsResult withComplianceItems(ComplianceItem... complianceItems)
A list of compliance information for the specified resource ID.
NOTE: This method appends the values to the existing list (if any). Use
setComplianceItems(java.util.Collection)
or withComplianceItems(java.util.Collection)
if you
want to override the existing values.
complianceItems
- A list of compliance information for the specified resource ID.public ListComplianceItemsResult withComplianceItems(Collection<ComplianceItem> complianceItems)
A list of compliance information for the specified resource ID.
complianceItems
- A list of compliance information for the specified resource ID.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 ListComplianceItemsResult 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 String toString()
toString
in class Object
Object.toString()
public ListComplianceItemsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.