@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoverageFilterCriteria extends Object implements Serializable, Cloneable, StructuredPojo
A structure that identifies filter criteria for GetCoverageStatistics
.
Constructor and Description |
---|
CoverageFilterCriteria() |
Modifier and Type | Method and Description |
---|---|
CoverageFilterCriteria |
clone() |
boolean |
equals(Object obj) |
List<CoverageStringFilter> |
getAccountId()
An array of Amazon Web Services account IDs to return coverage statistics for.
|
List<CoverageMapFilter> |
getEc2InstanceTags()
The Amazon EC2 instance tags to filter on.
|
List<CoverageStringFilter> |
getEcrImageTags()
The Amazon ECR image tags to filter on.
|
List<CoverageStringFilter> |
getEcrRepositoryName()
The Amazon ECR repository name to filter on.
|
List<CoverageStringFilter> |
getLambdaFunctionName()
Returns coverage statistics for AWS Lambda functions filtered by function names.
|
List<CoverageStringFilter> |
getLambdaFunctionRuntime()
Returns coverage statistics for AWS Lambda functions filtered by runtime.
|
List<CoverageMapFilter> |
getLambdaFunctionTags()
Returns coverage statistics for AWS Lambda functions filtered by tag.
|
List<CoverageDateFilter> |
getLastScannedAt()
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities
within the specified time range.
|
List<CoverageStringFilter> |
getResourceId()
An array of Amazon Web Services resource IDs to return coverage statistics for.
|
List<CoverageStringFilter> |
getResourceType()
An array of Amazon Web Services resource types to return coverage statistics for.
|
List<CoverageStringFilter> |
getScanStatusCode()
The scan status code to filter on.
|
List<CoverageStringFilter> |
getScanStatusReason()
The scan status reason to filter on.
|
List<CoverageStringFilter> |
getScanType()
An array of Amazon Inspector scan types to return coverage statistics for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(Collection<CoverageStringFilter> accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
|
void |
setEc2InstanceTags(Collection<CoverageMapFilter> ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
|
void |
setEcrImageTags(Collection<CoverageStringFilter> ecrImageTags)
The Amazon ECR image tags to filter on.
|
void |
setEcrRepositoryName(Collection<CoverageStringFilter> ecrRepositoryName)
The Amazon ECR repository name to filter on.
|
void |
setLambdaFunctionName(Collection<CoverageStringFilter> lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
|
void |
setLambdaFunctionRuntime(Collection<CoverageStringFilter> lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
|
void |
setLambdaFunctionTags(Collection<CoverageMapFilter> lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
|
void |
setLastScannedAt(Collection<CoverageDateFilter> lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities
within the specified time range.
|
void |
setResourceId(Collection<CoverageStringFilter> resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
|
void |
setResourceType(Collection<CoverageStringFilter> resourceType)
An array of Amazon Web Services resource types to return coverage statistics for.
|
void |
setScanStatusCode(Collection<CoverageStringFilter> scanStatusCode)
The scan status code to filter on.
|
void |
setScanStatusReason(Collection<CoverageStringFilter> scanStatusReason)
The scan status reason to filter on.
|
void |
setScanType(Collection<CoverageStringFilter> scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
|
String |
toString()
Returns a string representation of this object.
|
CoverageFilterCriteria |
withAccountId(Collection<CoverageStringFilter> accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
|
CoverageFilterCriteria |
withAccountId(CoverageStringFilter... accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
|
CoverageFilterCriteria |
withEc2InstanceTags(Collection<CoverageMapFilter> ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
|
CoverageFilterCriteria |
withEc2InstanceTags(CoverageMapFilter... ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
|
CoverageFilterCriteria |
withEcrImageTags(Collection<CoverageStringFilter> ecrImageTags)
The Amazon ECR image tags to filter on.
|
CoverageFilterCriteria |
withEcrImageTags(CoverageStringFilter... ecrImageTags)
The Amazon ECR image tags to filter on.
|
CoverageFilterCriteria |
withEcrRepositoryName(Collection<CoverageStringFilter> ecrRepositoryName)
The Amazon ECR repository name to filter on.
|
CoverageFilterCriteria |
withEcrRepositoryName(CoverageStringFilter... ecrRepositoryName)
The Amazon ECR repository name to filter on.
|
CoverageFilterCriteria |
withLambdaFunctionName(Collection<CoverageStringFilter> lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
|
CoverageFilterCriteria |
withLambdaFunctionName(CoverageStringFilter... lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
|
CoverageFilterCriteria |
withLambdaFunctionRuntime(Collection<CoverageStringFilter> lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
|
CoverageFilterCriteria |
withLambdaFunctionRuntime(CoverageStringFilter... lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
|
CoverageFilterCriteria |
withLambdaFunctionTags(Collection<CoverageMapFilter> lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
|
CoverageFilterCriteria |
withLambdaFunctionTags(CoverageMapFilter... lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
|
CoverageFilterCriteria |
withLastScannedAt(Collection<CoverageDateFilter> lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities
within the specified time range.
|
CoverageFilterCriteria |
withLastScannedAt(CoverageDateFilter... lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities
within the specified time range.
|
CoverageFilterCriteria |
withResourceId(Collection<CoverageStringFilter> resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
|
CoverageFilterCriteria |
withResourceId(CoverageStringFilter... resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
|
CoverageFilterCriteria |
withResourceType(Collection<CoverageStringFilter> resourceType)
An array of Amazon Web Services resource types to return coverage statistics for.
|
CoverageFilterCriteria |
withResourceType(CoverageStringFilter... resourceType)
An array of Amazon Web Services resource types to return coverage statistics for.
|
CoverageFilterCriteria |
withScanStatusCode(Collection<CoverageStringFilter> scanStatusCode)
The scan status code to filter on.
|
CoverageFilterCriteria |
withScanStatusCode(CoverageStringFilter... scanStatusCode)
The scan status code to filter on.
|
CoverageFilterCriteria |
withScanStatusReason(Collection<CoverageStringFilter> scanStatusReason)
The scan status reason to filter on.
|
CoverageFilterCriteria |
withScanStatusReason(CoverageStringFilter... scanStatusReason)
The scan status reason to filter on.
|
CoverageFilterCriteria |
withScanType(Collection<CoverageStringFilter> scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
|
CoverageFilterCriteria |
withScanType(CoverageStringFilter... scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
|
public List<CoverageStringFilter> getAccountId()
An array of Amazon Web Services account IDs to return coverage statistics for.
public void setAccountId(Collection<CoverageStringFilter> accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
accountId
- An array of Amazon Web Services account IDs to return coverage statistics for.public CoverageFilterCriteria withAccountId(CoverageStringFilter... accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
NOTE: This method appends the values to the existing list (if any). Use
setAccountId(java.util.Collection)
or withAccountId(java.util.Collection)
if you want to
override the existing values.
accountId
- An array of Amazon Web Services account IDs to return coverage statistics for.public CoverageFilterCriteria withAccountId(Collection<CoverageStringFilter> accountId)
An array of Amazon Web Services account IDs to return coverage statistics for.
accountId
- An array of Amazon Web Services account IDs to return coverage statistics for.public List<CoverageMapFilter> getEc2InstanceTags()
The Amazon EC2 instance tags to filter on.
public void setEc2InstanceTags(Collection<CoverageMapFilter> ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
ec2InstanceTags
- The Amazon EC2 instance tags to filter on.public CoverageFilterCriteria withEc2InstanceTags(CoverageMapFilter... ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setEc2InstanceTags(java.util.Collection)
or withEc2InstanceTags(java.util.Collection)
if you
want to override the existing values.
ec2InstanceTags
- The Amazon EC2 instance tags to filter on.public CoverageFilterCriteria withEc2InstanceTags(Collection<CoverageMapFilter> ec2InstanceTags)
The Amazon EC2 instance tags to filter on.
ec2InstanceTags
- The Amazon EC2 instance tags to filter on.public List<CoverageStringFilter> getEcrImageTags()
The Amazon ECR image tags to filter on.
public void setEcrImageTags(Collection<CoverageStringFilter> ecrImageTags)
The Amazon ECR image tags to filter on.
ecrImageTags
- The Amazon ECR image tags to filter on.public CoverageFilterCriteria withEcrImageTags(CoverageStringFilter... ecrImageTags)
The Amazon ECR image tags to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setEcrImageTags(java.util.Collection)
or withEcrImageTags(java.util.Collection)
if you want to
override the existing values.
ecrImageTags
- The Amazon ECR image tags to filter on.public CoverageFilterCriteria withEcrImageTags(Collection<CoverageStringFilter> ecrImageTags)
The Amazon ECR image tags to filter on.
ecrImageTags
- The Amazon ECR image tags to filter on.public List<CoverageStringFilter> getEcrRepositoryName()
The Amazon ECR repository name to filter on.
public void setEcrRepositoryName(Collection<CoverageStringFilter> ecrRepositoryName)
The Amazon ECR repository name to filter on.
ecrRepositoryName
- The Amazon ECR repository name to filter on.public CoverageFilterCriteria withEcrRepositoryName(CoverageStringFilter... ecrRepositoryName)
The Amazon ECR repository name to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setEcrRepositoryName(java.util.Collection)
or withEcrRepositoryName(java.util.Collection)
if
you want to override the existing values.
ecrRepositoryName
- The Amazon ECR repository name to filter on.public CoverageFilterCriteria withEcrRepositoryName(Collection<CoverageStringFilter> ecrRepositoryName)
The Amazon ECR repository name to filter on.
ecrRepositoryName
- The Amazon ECR repository name to filter on.public List<CoverageStringFilter> getLambdaFunctionName()
Returns coverage statistics for AWS Lambda functions filtered by function names.
public void setLambdaFunctionName(Collection<CoverageStringFilter> lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
lambdaFunctionName
- Returns coverage statistics for AWS Lambda functions filtered by function names.public CoverageFilterCriteria withLambdaFunctionName(CoverageStringFilter... lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
NOTE: This method appends the values to the existing list (if any). Use
setLambdaFunctionName(java.util.Collection)
or withLambdaFunctionName(java.util.Collection)
if
you want to override the existing values.
lambdaFunctionName
- Returns coverage statistics for AWS Lambda functions filtered by function names.public CoverageFilterCriteria withLambdaFunctionName(Collection<CoverageStringFilter> lambdaFunctionName)
Returns coverage statistics for AWS Lambda functions filtered by function names.
lambdaFunctionName
- Returns coverage statistics for AWS Lambda functions filtered by function names.public List<CoverageStringFilter> getLambdaFunctionRuntime()
Returns coverage statistics for AWS Lambda functions filtered by runtime.
public void setLambdaFunctionRuntime(Collection<CoverageStringFilter> lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
lambdaFunctionRuntime
- Returns coverage statistics for AWS Lambda functions filtered by runtime.public CoverageFilterCriteria withLambdaFunctionRuntime(CoverageStringFilter... lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
NOTE: This method appends the values to the existing list (if any). Use
setLambdaFunctionRuntime(java.util.Collection)
or
withLambdaFunctionRuntime(java.util.Collection)
if you want to override the existing values.
lambdaFunctionRuntime
- Returns coverage statistics for AWS Lambda functions filtered by runtime.public CoverageFilterCriteria withLambdaFunctionRuntime(Collection<CoverageStringFilter> lambdaFunctionRuntime)
Returns coverage statistics for AWS Lambda functions filtered by runtime.
lambdaFunctionRuntime
- Returns coverage statistics for AWS Lambda functions filtered by runtime.public List<CoverageMapFilter> getLambdaFunctionTags()
Returns coverage statistics for AWS Lambda functions filtered by tag.
public void setLambdaFunctionTags(Collection<CoverageMapFilter> lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
lambdaFunctionTags
- Returns coverage statistics for AWS Lambda functions filtered by tag.public CoverageFilterCriteria withLambdaFunctionTags(CoverageMapFilter... lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
NOTE: This method appends the values to the existing list (if any). Use
setLambdaFunctionTags(java.util.Collection)
or withLambdaFunctionTags(java.util.Collection)
if
you want to override the existing values.
lambdaFunctionTags
- Returns coverage statistics for AWS Lambda functions filtered by tag.public CoverageFilterCriteria withLambdaFunctionTags(Collection<CoverageMapFilter> lambdaFunctionTags)
Returns coverage statistics for AWS Lambda functions filtered by tag.
lambdaFunctionTags
- Returns coverage statistics for AWS Lambda functions filtered by tag.public List<CoverageDateFilter> getLastScannedAt()
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.
public void setLastScannedAt(Collection<CoverageDateFilter> lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.
lastScannedAt
- Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for
vulnerabilities within the specified time range.public CoverageFilterCriteria withLastScannedAt(CoverageDateFilter... lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.
NOTE: This method appends the values to the existing list (if any). Use
setLastScannedAt(java.util.Collection)
or withLastScannedAt(java.util.Collection)
if you want
to override the existing values.
lastScannedAt
- Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for
vulnerabilities within the specified time range.public CoverageFilterCriteria withLastScannedAt(Collection<CoverageDateFilter> lastScannedAt)
Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.
lastScannedAt
- Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for
vulnerabilities within the specified time range.public List<CoverageStringFilter> getResourceId()
An array of Amazon Web Services resource IDs to return coverage statistics for.
public void setResourceId(Collection<CoverageStringFilter> resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
resourceId
- An array of Amazon Web Services resource IDs to return coverage statistics for.public CoverageFilterCriteria withResourceId(CoverageStringFilter... resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
NOTE: This method appends the values to the existing list (if any). Use
setResourceId(java.util.Collection)
or withResourceId(java.util.Collection)
if you want to
override the existing values.
resourceId
- An array of Amazon Web Services resource IDs to return coverage statistics for.public CoverageFilterCriteria withResourceId(Collection<CoverageStringFilter> resourceId)
An array of Amazon Web Services resource IDs to return coverage statistics for.
resourceId
- An array of Amazon Web Services resource IDs to return coverage statistics for.public List<CoverageStringFilter> getResourceType()
An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.public void setResourceType(Collection<CoverageStringFilter> resourceType)
An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.
resourceType
- An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.public CoverageFilterCriteria withResourceType(CoverageStringFilter... resourceType)
An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.
NOTE: This method appends the values to the existing list (if any). Use
setResourceType(java.util.Collection)
or withResourceType(java.util.Collection)
if you want to
override the existing values.
resourceType
- An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.public CoverageFilterCriteria withResourceType(Collection<CoverageStringFilter> resourceType)
An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.
resourceType
- An array of Amazon Web Services resource types to return coverage statistics for. The values can be
AWS_EC2_INSTANCE
, AWS_LAMBDA_FUNCTION
or AWS_ECR_REPOSITORY
.public List<CoverageStringFilter> getScanStatusCode()
The scan status code to filter on.
public void setScanStatusCode(Collection<CoverageStringFilter> scanStatusCode)
The scan status code to filter on.
scanStatusCode
- The scan status code to filter on.public CoverageFilterCriteria withScanStatusCode(CoverageStringFilter... scanStatusCode)
The scan status code to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setScanStatusCode(java.util.Collection)
or withScanStatusCode(java.util.Collection)
if you want
to override the existing values.
scanStatusCode
- The scan status code to filter on.public CoverageFilterCriteria withScanStatusCode(Collection<CoverageStringFilter> scanStatusCode)
The scan status code to filter on.
scanStatusCode
- The scan status code to filter on.public List<CoverageStringFilter> getScanStatusReason()
The scan status reason to filter on.
public void setScanStatusReason(Collection<CoverageStringFilter> scanStatusReason)
The scan status reason to filter on.
scanStatusReason
- The scan status reason to filter on.public CoverageFilterCriteria withScanStatusReason(CoverageStringFilter... scanStatusReason)
The scan status reason to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setScanStatusReason(java.util.Collection)
or withScanStatusReason(java.util.Collection)
if you
want to override the existing values.
scanStatusReason
- The scan status reason to filter on.public CoverageFilterCriteria withScanStatusReason(Collection<CoverageStringFilter> scanStatusReason)
The scan status reason to filter on.
scanStatusReason
- The scan status reason to filter on.public List<CoverageStringFilter> getScanType()
An array of Amazon Inspector scan types to return coverage statistics for.
public void setScanType(Collection<CoverageStringFilter> scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
scanType
- An array of Amazon Inspector scan types to return coverage statistics for.public CoverageFilterCriteria withScanType(CoverageStringFilter... scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
NOTE: This method appends the values to the existing list (if any). Use
setScanType(java.util.Collection)
or withScanType(java.util.Collection)
if you want to override
the existing values.
scanType
- An array of Amazon Inspector scan types to return coverage statistics for.public CoverageFilterCriteria withScanType(Collection<CoverageStringFilter> scanType)
An array of Amazon Inspector scan types to return coverage statistics for.
scanType
- An array of Amazon Inspector scan types to return coverage statistics for.public String toString()
toString
in class Object
Object.toString()
public CoverageFilterCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.