@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListComplianceItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListComplianceItemsRequest() |
Modifier and Type | Method and Description |
---|---|
ListComplianceItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ComplianceStringFilter> |
getFilters()
One or more compliance filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
A token to start the list.
|
List<String> |
getResourceIds()
The ID for the resources from which to get compliance information.
|
List<String> |
getResourceTypes()
The type of resource from which to get compliance information.
|
int |
hashCode() |
void |
setFilters(Collection<ComplianceStringFilter> filters)
One or more compliance filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
A token to start the list.
|
void |
setResourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListComplianceItemsRequest |
withFilters(Collection<ComplianceStringFilter> filters)
One or more compliance filters.
|
ListComplianceItemsRequest |
withFilters(ComplianceStringFilter... filters)
One or more compliance filters.
|
ListComplianceItemsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
ListComplianceItemsRequest |
withNextToken(String nextToken)
A token to start the list.
|
ListComplianceItemsRequest |
withResourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information.
|
ListComplianceItemsRequest |
withResourceIds(String... resourceIds)
The ID for the resources from which to get compliance information.
|
ListComplianceItemsRequest |
withResourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information.
|
ListComplianceItemsRequest |
withResourceTypes(String... resourceTypes)
The type of resource from which to get compliance information.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<ComplianceStringFilter> getFilters()
One or more compliance filters. Use a filter to return a more specific list of results.
public void setFilters(Collection<ComplianceStringFilter> filters)
One or more compliance filters. Use a filter to return a more specific list of results.
filters
- One or more compliance filters. Use a filter to return a more specific list of results.public ListComplianceItemsRequest withFilters(ComplianceStringFilter... filters)
One or more compliance filters. Use a filter to return a more specific list of results.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more compliance filters. Use a filter to return a more specific list of results.public ListComplianceItemsRequest withFilters(Collection<ComplianceStringFilter> filters)
One or more compliance filters. Use a filter to return a more specific list of results.
filters
- One or more compliance filters. Use a filter to return a more specific list of results.public List<String> getResourceIds()
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
public void setResourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
resourceIds
- The ID for the resources from which to get compliance information. Currently, you can only specify one
resource ID.public ListComplianceItemsRequest withResourceIds(String... resourceIds)
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- The ID for the resources from which to get compliance information. Currently, you can only specify one
resource ID.public ListComplianceItemsRequest withResourceIds(Collection<String> resourceIds)
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
resourceIds
- The ID for the resources from which to get compliance information. Currently, you can only specify one
resource ID.public List<String> getResourceTypes()
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
ManagedInstance
.public void setResourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
resourceTypes
- The type of resource from which to get compliance information. Currently, the only supported resource type
is ManagedInstance
.public ListComplianceItemsRequest withResourceTypes(String... resourceTypes)
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection)
or withResourceTypes(java.util.Collection)
if you want
to override the existing values.
resourceTypes
- The type of resource from which to get compliance information. Currently, the only supported resource type
is ManagedInstance
.public ListComplianceItemsRequest withResourceTypes(Collection<String> resourceTypes)
The type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance
.
resourceTypes
- The type of resource from which to get compliance information. Currently, the only supported resource type
is ManagedInstance
.public void setNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of results.public String getNextToken()
A token to start the list. Use this token to get the next set of results.
public ListComplianceItemsRequest withNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public ListComplianceItemsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListComplianceItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.