@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> |
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) |
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 |
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 |
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> 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 or AWS_ECR_REPOSITORY.
AWS_EC2_INSTANCE 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 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 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 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 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 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 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 ObjectObject.toString()public CoverageFilterCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.