@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetComplianceSummaryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetComplianceSummaryRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceSummaryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getGroupBy()
A list of attributes to group the counts of noncompliant resources by.
|
Integer |
getMaxResults()
A limit that restricts the number of results that are returned per page.
|
String |
getPaginationToken()
A string that indicates that additional data is available.
|
List<String> |
getRegionFilters()
A list of Regions to limit the output by.
|
List<String> |
getResourceTypeFilters()
The constraints on the resources that you want returned.
|
List<String> |
getTagKeyFilters()
A list of tag keys to limit the output by.
|
List<String> |
getTargetIdFilters()
The target identifiers (usually, specific account IDs) to limit the output by.
|
int |
hashCode() |
void |
setGroupBy(Collection<String> groupBy)
A list of attributes to group the counts of noncompliant resources by.
|
void |
setMaxResults(Integer maxResults)
A limit that restricts the number of results that are returned per page.
|
void |
setPaginationToken(String paginationToken)
A string that indicates that additional data is available.
|
void |
setRegionFilters(Collection<String> regionFilters)
A list of Regions to limit the output by.
|
void |
setResourceTypeFilters(Collection<String> resourceTypeFilters)
The constraints on the resources that you want returned.
|
void |
setTagKeyFilters(Collection<String> tagKeyFilters)
A list of tag keys to limit the output by.
|
void |
setTargetIdFilters(Collection<String> targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by.
|
String |
toString()
Returns a string representation of this object.
|
GetComplianceSummaryRequest |
withGroupBy(Collection<String> groupBy)
A list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withGroupBy(GroupByAttribute... groupBy)
A list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withGroupBy(String... groupBy)
A list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withMaxResults(Integer maxResults)
A limit that restricts the number of results that are returned per page.
|
GetComplianceSummaryRequest |
withPaginationToken(String paginationToken)
A string that indicates that additional data is available.
|
GetComplianceSummaryRequest |
withRegionFilters(Collection<String> regionFilters)
A list of Regions to limit the output by.
|
GetComplianceSummaryRequest |
withRegionFilters(String... regionFilters)
A list of Regions to limit the output by.
|
GetComplianceSummaryRequest |
withResourceTypeFilters(Collection<String> resourceTypeFilters)
The constraints on the resources that you want returned.
|
GetComplianceSummaryRequest |
withResourceTypeFilters(String... resourceTypeFilters)
The constraints on the resources that you want returned.
|
GetComplianceSummaryRequest |
withTagKeyFilters(Collection<String> tagKeyFilters)
A list of tag keys to limit the output by.
|
GetComplianceSummaryRequest |
withTagKeyFilters(String... tagKeyFilters)
A list of tag keys to limit the output by.
|
GetComplianceSummaryRequest |
withTargetIdFilters(Collection<String> targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by.
|
GetComplianceSummaryRequest |
withTargetIdFilters(String... targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by.
|
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<String> getTargetIdFilters()
The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.
public void setTargetIdFilters(Collection<String> targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.
targetIdFilters
- The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter,
the count of returned noncompliant resources includes only resources with the specified target IDs.public GetComplianceSummaryRequest withTargetIdFilters(String... targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.
NOTE: This method appends the values to the existing list (if any). Use
setTargetIdFilters(java.util.Collection)
or withTargetIdFilters(java.util.Collection)
if you
want to override the existing values.
targetIdFilters
- The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter,
the count of returned noncompliant resources includes only resources with the specified target IDs.public GetComplianceSummaryRequest withTargetIdFilters(Collection<String> targetIdFilters)
The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.
targetIdFilters
- The target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter,
the count of returned noncompliant resources includes only resources with the specified target IDs.public List<String> getRegionFilters()
A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
public void setRegionFilters(Collection<String> regionFilters)
A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
regionFilters
- A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources in the specified Regions.public GetComplianceSummaryRequest withRegionFilters(String... regionFilters)
A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
NOTE: This method appends the values to the existing list (if any). Use
setRegionFilters(java.util.Collection)
or withRegionFilters(java.util.Collection)
if you want
to override the existing values.
regionFilters
- A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources in the specified Regions.public GetComplianceSummaryRequest withRegionFilters(Collection<String> regionFilters)
A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
regionFilters
- A list of Regions to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources in the specified Regions.public List<String> getResourceTypeFilters()
The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns all
Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
service[:resourceType]
. For example, specifying a resource type of ec2
returns
all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of
ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
public void setResourceTypeFilters(Collection<String> resourceTypeFilters)
The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns all
Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
resourceTypeFilters
- The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns
all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of
ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
public GetComplianceSummaryRequest withResourceTypeFilters(String... resourceTypeFilters)
The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns all
Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypeFilters(java.util.Collection)
or withResourceTypeFilters(java.util.Collection)
if you want to override the existing values.
resourceTypeFilters
- The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns
all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of
ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
public GetComplianceSummaryRequest withResourceTypeFilters(Collection<String> resourceTypeFilters)
The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns all
Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
resourceTypeFilters
- The constraints on the resources that you want returned. The format of each resource type is
service[:resourceType]
. For example, specifying a resource type of ec2
returns
all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of
ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
For a list of service name strings, see AWS Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
public List<String> getTagKeyFilters()
A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
public void setTagKeyFilters(Collection<String> tagKeyFilters)
A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
tagKeyFilters
- A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources that have the specified tag keys.public GetComplianceSummaryRequest withTagKeyFilters(String... tagKeyFilters)
A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeyFilters(java.util.Collection)
or withTagKeyFilters(java.util.Collection)
if you want
to override the existing values.
tagKeyFilters
- A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources that have the specified tag keys.public GetComplianceSummaryRequest withTagKeyFilters(Collection<String> tagKeyFilters)
A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
tagKeyFilters
- A list of tag keys to limit the output by. If you use this parameter, the count of returned noncompliant
resources includes only resources that have the specified tag keys.public List<String> getGroupBy()
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
GroupByAttribute
public void setGroupBy(Collection<String> groupBy)
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted
by those attributes.GroupByAttribute
public GetComplianceSummaryRequest withGroupBy(String... groupBy)
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
NOTE: This method appends the values to the existing list (if any). Use
setGroupBy(java.util.Collection)
or withGroupBy(java.util.Collection)
if you want to override
the existing values.
groupBy
- A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted
by those attributes.GroupByAttribute
public GetComplianceSummaryRequest withGroupBy(Collection<String> groupBy)
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted
by those attributes.GroupByAttribute
public GetComplianceSummaryRequest withGroupBy(GroupByAttribute... groupBy)
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted
by those attributes.GroupByAttribute
public void setMaxResults(Integer maxResults)
A limit that restricts the number of results that are returned per page.
maxResults
- A limit that restricts the number of results that are returned per page.public Integer getMaxResults()
A limit that restricts the number of results that are returned per page.
public GetComplianceSummaryRequest withMaxResults(Integer maxResults)
A limit that restricts the number of results that are returned per page.
maxResults
- A limit that restricts the number of results that are returned per page.public void setPaginationToken(String paginationToken)
A string that indicates that additional data is available. Leave this value empty for your initial request. If
the response includes a PaginationToken
, use that string for this value to request an additional
page of data.
paginationToken
- A string that indicates that additional data is available. Leave this value empty for your initial
request. If the response includes a PaginationToken
, use that string for this value to
request an additional page of data.public String getPaginationToken()
A string that indicates that additional data is available. Leave this value empty for your initial request. If
the response includes a PaginationToken
, use that string for this value to request an additional
page of data.
PaginationToken
, use that string for this value to
request an additional page of data.public GetComplianceSummaryRequest withPaginationToken(String paginationToken)
A string that indicates that additional data is available. Leave this value empty for your initial request. If
the response includes a PaginationToken
, use that string for this value to request an additional
page of data.
paginationToken
- A string that indicates that additional data is available. Leave this value empty for your initial
request. If the response includes a PaginationToken
, use that string for this value to
request an additional page of data.public String toString()
toString
in class Object
Object.toString()
public GetComplianceSummaryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()