@Generated(value="software.amazon.awssdk:codegen") public final class GetComplianceSummaryRequest extends ResourceGroupsTaggingApiRequest implements ToCopyableBuilder<GetComplianceSummaryRequest.Builder,GetComplianceSummaryRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetComplianceSummaryRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetComplianceSummaryRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
List<GroupByAttribute> |
groupBy()
A list of attributes to group the counts of noncompliant resources by.
|
List<String> |
groupByAsStrings()
A list of attributes to group the counts of noncompliant resources by.
|
boolean |
hasGroupBy()
Returns true if the GroupBy property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRegionFilters()
Returns true if the RegionFilters property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResourceTypeFilters()
Returns true if the ResourceTypeFilters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTagKeyFilters()
Returns true if the TagKeyFilters property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTargetIdFilters()
Returns true if the TargetIdFilters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Integer |
maxResults()
A limit that restricts the number of results that are returned per page.
|
String |
paginationToken()
A string that indicates that additional data is available.
|
List<String> |
regionFilters()
A list of Regions to limit the output by.
|
List<String> |
resourceTypeFilters()
The constraints on the resources that you want returned.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetComplianceSummaryRequest.Builder> |
serializableBuilderClass() |
List<String> |
tagKeyFilters()
A list of tag keys to limit the output by.
|
List<String> |
targetIdFilters()
The target identifiers (usually, specific account IDs) to limit the output by.
|
GetComplianceSummaryRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final boolean hasTargetIdFilters()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetIdFilters()
to see if a value was sent in this field.
public final boolean hasRegionFilters()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRegionFilters()
to see if a value was sent in this field.
public final boolean hasResourceTypeFilters()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceTypeFilters()
to see if a value was sent in this field.
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 final boolean hasTagKeyFilters()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagKeyFilters()
to see if a value was sent in this field.
public final List<GroupByAttribute> groupBy()
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupBy()
to see if a value was sent in this field.
public final boolean hasGroupBy()
public final List<String> groupByAsStrings()
A list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupBy()
to see if a value was sent in this field.
public final Integer maxResults()
A limit that restricts the number of results that are returned per page.
public final 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
, use that string for this value to
request an additional page of data.public GetComplianceSummaryRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetComplianceSummaryRequest.Builder,GetComplianceSummaryRequest>
toBuilder
in class ResourceGroupsTaggingApiRequest
public static GetComplianceSummaryRequest.Builder builder()
public static Class<? extends GetComplianceSummaryRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.