@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()
Specifies a list of attributes to group the counts of noncompliant resources by.
|
Integer |
getMaxResults()
Specifies the maximum number of results to be returned in each page.
|
String |
getPaginationToken()
Specifies a
PaginationToken response value from a previous request to indicate that you want the
next page of results. |
List<String> |
getRegionFilters()
Specifies a list of Amazon Web Services Regions to limit the output to.
|
List<String> |
getResourceTypeFilters()
Specifies that you want the response to include information for only resources of the specified types.
|
List<String> |
getTagKeyFilters()
Specifies that you want the response to include information for only resources that have tags with the specified
tag keys.
|
List<String> |
getTargetIdFilters()
Specifies target identifiers (usually, specific account IDs) to limit the output by.
|
int |
hashCode() |
void |
setGroupBy(Collection<String> groupBy)
Specifies a list of attributes to group the counts of noncompliant resources by.
|
void |
setMaxResults(Integer maxResults)
Specifies the maximum number of results to be returned in each page.
|
void |
setPaginationToken(String paginationToken)
Specifies a
PaginationToken response value from a previous request to indicate that you want the
next page of results. |
void |
setRegionFilters(Collection<String> regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to.
|
void |
setResourceTypeFilters(Collection<String> resourceTypeFilters)
Specifies that you want the response to include information for only resources of the specified types.
|
void |
setTagKeyFilters(Collection<String> tagKeyFilters)
Specifies that you want the response to include information for only resources that have tags with the specified
tag keys.
|
void |
setTargetIdFilters(Collection<String> targetIdFilters)
Specifies 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)
Specifies a list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withGroupBy(GroupByAttribute... groupBy)
Specifies a list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withGroupBy(String... groupBy)
Specifies a list of attributes to group the counts of noncompliant resources by.
|
GetComplianceSummaryRequest |
withMaxResults(Integer maxResults)
Specifies the maximum number of results to be returned in each page.
|
GetComplianceSummaryRequest |
withPaginationToken(String paginationToken)
Specifies a
PaginationToken response value from a previous request to indicate that you want the
next page of results. |
GetComplianceSummaryRequest |
withRegionFilters(Collection<String> regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to.
|
GetComplianceSummaryRequest |
withRegionFilters(String... regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to.
|
GetComplianceSummaryRequest |
withResourceTypeFilters(Collection<String> resourceTypeFilters)
Specifies that you want the response to include information for only resources of the specified types.
|
GetComplianceSummaryRequest |
withResourceTypeFilters(String... resourceTypeFilters)
Specifies that you want the response to include information for only resources of the specified types.
|
GetComplianceSummaryRequest |
withTagKeyFilters(Collection<String> tagKeyFilters)
Specifies that you want the response to include information for only resources that have tags with the specified
tag keys.
|
GetComplianceSummaryRequest |
withTagKeyFilters(String... tagKeyFilters)
Specifies that you want the response to include information for only resources that have tags with the specified
tag keys.
|
GetComplianceSummaryRequest |
withTargetIdFilters(Collection<String> targetIdFilters)
Specifies target identifiers (usually, specific account IDs) to limit the output by.
|
GetComplianceSummaryRequest |
withTargetIdFilters(String... targetIdFilters)
Specifies 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()
Specifies 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)
Specifies 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
- Specifies 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)
Specifies 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
- Specifies 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)
Specifies 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
- Specifies 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()
Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
public void setRegionFilters(Collection<String> regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
regionFilters
- Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the
count of returned noncompliant resources includes only resources in the specified Regions.public GetComplianceSummaryRequest withRegionFilters(String... regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to. 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
- Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the
count of returned noncompliant resources includes only resources in the specified Regions.public GetComplianceSummaryRequest withRegionFilters(Collection<String> regionFilters)
Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
regionFilters
- Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the
count of returned noncompliant resources includes only resources in the specified Regions.public List<String> getResourceTypeFilters()
Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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)
Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
resourceTypeFilters
- Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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)
Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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
- Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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)
Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
resourceTypeFilters
- Specifies that you want the response to include information for only resources of the specified types. 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 Amazon Web Services General Reference for the following:
For a list of service name strings, see Amazon Web Services Service Namespaces.
For resource type strings, see Example ARNs.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
You can specify multiple resource types by using a comma separated 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()
Specifies that you want the response to include information for only resources that have tags with the specified tag keys. 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)
Specifies that you want the response to include information for only resources that have tags with the specified tag keys. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
tagKeyFilters
- Specifies that you want the response to include information for only resources that have tags with the
specified tag keys. 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)
Specifies that you want the response to include information for only resources that have tags with the specified tag keys. 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
- Specifies that you want the response to include information for only resources that have tags with the
specified tag keys. 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)
Specifies that you want the response to include information for only resources that have tags with the specified tag keys. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
tagKeyFilters
- Specifies that you want the response to include information for only resources that have tags with the
specified tag keys. If you use this parameter, the count of returned noncompliant resources includes only
resources that have the specified tag keys.public List<String> getGroupBy()
Specifies 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)
Specifies a list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- Specifies 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)
Specifies 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
- Specifies 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)
Specifies a list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- Specifies 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)
Specifies a list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
groupBy
- Specifies 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)
Specifies the maximum number of results to be returned in each page. A query can return fewer than this maximum,
even if there are more results still to return. You should always check the PaginationToken
response
value to see if there are more results. You can specify a minimum of 1 and a maximum value of 100.
maxResults
- Specifies the maximum number of results to be returned in each page. A query can return fewer than this
maximum, even if there are more results still to return. You should always check the
PaginationToken
response value to see if there are more results. You can specify a minimum of
1 and a maximum value of 100.public Integer getMaxResults()
Specifies the maximum number of results to be returned in each page. A query can return fewer than this maximum,
even if there are more results still to return. You should always check the PaginationToken
response
value to see if there are more results. You can specify a minimum of 1 and a maximum value of 100.
PaginationToken
response value to see if there are more results. You can specify a minimum
of 1 and a maximum value of 100.public GetComplianceSummaryRequest withMaxResults(Integer maxResults)
Specifies the maximum number of results to be returned in each page. A query can return fewer than this maximum,
even if there are more results still to return. You should always check the PaginationToken
response
value to see if there are more results. You can specify a minimum of 1 and a maximum value of 100.
maxResults
- Specifies the maximum number of results to be returned in each page. A query can return fewer than this
maximum, even if there are more results still to return. You should always check the
PaginationToken
response value to see if there are more results. You can specify a minimum of
1 and a maximum value of 100.public void setPaginationToken(String paginationToken)
Specifies a PaginationToken
response value from a previous request to indicate that you want the
next page of results. Leave this parameter empty in your initial request.
paginationToken
- Specifies a PaginationToken
response value from a previous request to indicate that you want
the next page of results. Leave this parameter empty in your initial request.public String getPaginationToken()
Specifies a PaginationToken
response value from a previous request to indicate that you want the
next page of results. Leave this parameter empty in your initial request.
PaginationToken
response value from a previous request to indicate that you want
the next page of results. Leave this parameter empty in your initial request.public GetComplianceSummaryRequest withPaginationToken(String paginationToken)
Specifies a PaginationToken
response value from a previous request to indicate that you want the
next page of results. Leave this parameter empty in your initial request.
paginationToken
- Specifies a PaginationToken
response value from a previous request to indicate that you want
the next page of results. Leave this parameter empty in your initial request.public String toString()
toString
in class Object
Object.toString()
public GetComplianceSummaryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()