@Generated(value="software.amazon.awssdk:codegen") public final class CoverageFilterCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoverageFilterCriteria.Builder,CoverageFilterCriteria>
A structure that identifies filter criteria for GetCoverageStatistics.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CoverageFilterCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<CoverageStringFilter> |
accountId()
An array of Amazon Web Services account IDs to return coverage statistics for.
|
static CoverageFilterCriteria.Builder |
builder() |
List<CoverageMapFilter> |
ec2InstanceTags()
The Amazon EC2 instance tags to filter on.
|
List<CoverageStringFilter> |
ecrImageTags()
The Amazon ECR image tags to filter on.
|
List<CoverageStringFilter> |
ecrRepositoryName()
The Amazon ECR repository name to filter on.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccountId()
For responses, this returns true if the service returned a value for the AccountId property.
|
boolean |
hasEc2InstanceTags()
For responses, this returns true if the service returned a value for the Ec2InstanceTags property.
|
boolean |
hasEcrImageTags()
For responses, this returns true if the service returned a value for the EcrImageTags property.
|
boolean |
hasEcrRepositoryName()
For responses, this returns true if the service returned a value for the EcrRepositoryName property.
|
int |
hashCode() |
boolean |
hasResourceId()
For responses, this returns true if the service returned a value for the ResourceId property.
|
boolean |
hasResourceType()
For responses, this returns true if the service returned a value for the ResourceType property.
|
boolean |
hasScanStatusCode()
For responses, this returns true if the service returned a value for the ScanStatusCode property.
|
boolean |
hasScanStatusReason()
For responses, this returns true if the service returned a value for the ScanStatusReason property.
|
boolean |
hasScanType()
For responses, this returns true if the service returned a value for the ScanType property.
|
List<CoverageStringFilter> |
resourceId()
An array of Amazon Web Services resource IDs to return coverage statistics for.
|
List<CoverageStringFilter> |
resourceType()
An array of Amazon Web Services resource types to return coverage statistics for.
|
List<CoverageStringFilter> |
scanStatusCode()
The scan status code to filter on.
|
List<CoverageStringFilter> |
scanStatusReason()
The scan status reason to filter on.
|
List<CoverageStringFilter> |
scanType()
An array of Amazon Inspector scan types to return coverage statistics for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CoverageFilterCriteria.Builder> |
serializableBuilderClass() |
CoverageFilterCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAccountId()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<CoverageStringFilter> accountId()
An array of Amazon Web Services account IDs to return coverage statistics for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccountId() method.
public final boolean hasEc2InstanceTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageMapFilter> ec2InstanceTags()
The Amazon EC2 instance tags to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2InstanceTags() method.
public final boolean hasEcrImageTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageStringFilter> ecrImageTags()
The Amazon ECR image tags to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcrImageTags() method.
public final boolean hasEcrRepositoryName()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageStringFilter> ecrRepositoryName()
The Amazon ECR repository name to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcrRepositoryName() method.
public final boolean hasResourceId()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<CoverageStringFilter> resourceId()
An array of Amazon Web Services resource IDs to return coverage statistics for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceId() method.
public final boolean hasResourceType()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageStringFilter> resourceType()
An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceType() method.
AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.public final boolean hasScanStatusCode()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageStringFilter> scanStatusCode()
The scan status code to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScanStatusCode() method.
public final boolean hasScanStatusReason()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CoverageStringFilter> scanStatusReason()
The scan status reason to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScanStatusReason() method.
public final boolean hasScanType()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<CoverageStringFilter> scanType()
An array of Amazon Inspector scan types to return coverage statistics for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScanType() method.
public CoverageFilterCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CoverageFilterCriteria.Builder,CoverageFilterCriteria>public static CoverageFilterCriteria.Builder builder()
public static Class<? extends CoverageFilterCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.