@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnhancedImageScanFinding extends Object implements Serializable, Cloneable, StructuredPojo
The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.
Constructor and Description |
---|
EnhancedImageScanFinding() |
Modifier and Type | Method and Description |
---|---|
EnhancedImageScanFinding |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID associated with the image.
|
String |
getDescription()
The description of the finding.
|
String |
getFindingArn()
The Amazon Resource Number (ARN) of the finding.
|
Date |
getFirstObservedAt()
The date and time that the finding was first observed.
|
Date |
getLastObservedAt()
The date and time that the finding was last observed.
|
PackageVulnerabilityDetails |
getPackageVulnerabilityDetails()
An object that contains the details of a package vulnerability finding.
|
Remediation |
getRemediation()
An object that contains the details about how to remediate a finding.
|
List<Resource> |
getResources()
Contains information on the resources involved in a finding.
|
Double |
getScore()
The Amazon Inspector score given to the finding.
|
ScoreDetails |
getScoreDetails()
An object that contains details of the Amazon Inspector score.
|
String |
getSeverity()
The severity of the finding.
|
String |
getStatus()
The status of the finding.
|
String |
getTitle()
The title of the finding.
|
String |
getType()
The type of the finding.
|
Date |
getUpdatedAt()
The date and time the finding was last updated at.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the image.
|
void |
setDescription(String description)
The description of the finding.
|
void |
setFindingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
|
void |
setFirstObservedAt(Date firstObservedAt)
The date and time that the finding was first observed.
|
void |
setLastObservedAt(Date lastObservedAt)
The date and time that the finding was last observed.
|
void |
setPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
void |
setRemediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
|
void |
setResources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
|
void |
setScore(Double score)
The Amazon Inspector score given to the finding.
|
void |
setScoreDetails(ScoreDetails scoreDetails)
An object that contains details of the Amazon Inspector score.
|
void |
setSeverity(String severity)
The severity of the finding.
|
void |
setStatus(String status)
The status of the finding.
|
void |
setTitle(String title)
The title of the finding.
|
void |
setType(String type)
The type of the finding.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the finding was last updated at.
|
String |
toString()
Returns a string representation of this object.
|
EnhancedImageScanFinding |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the image.
|
EnhancedImageScanFinding |
withDescription(String description)
The description of the finding.
|
EnhancedImageScanFinding |
withFindingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
|
EnhancedImageScanFinding |
withFirstObservedAt(Date firstObservedAt)
The date and time that the finding was first observed.
|
EnhancedImageScanFinding |
withLastObservedAt(Date lastObservedAt)
The date and time that the finding was last observed.
|
EnhancedImageScanFinding |
withPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
EnhancedImageScanFinding |
withRemediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
|
EnhancedImageScanFinding |
withResources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
|
EnhancedImageScanFinding |
withResources(Resource... resources)
Contains information on the resources involved in a finding.
|
EnhancedImageScanFinding |
withScore(Double score)
The Amazon Inspector score given to the finding.
|
EnhancedImageScanFinding |
withScoreDetails(ScoreDetails scoreDetails)
An object that contains details of the Amazon Inspector score.
|
EnhancedImageScanFinding |
withSeverity(String severity)
The severity of the finding.
|
EnhancedImageScanFinding |
withStatus(String status)
The status of the finding.
|
EnhancedImageScanFinding |
withTitle(String title)
The title of the finding.
|
EnhancedImageScanFinding |
withType(String type)
The type of the finding.
|
EnhancedImageScanFinding |
withUpdatedAt(Date updatedAt)
The date and time the finding was last updated at.
|
public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the image.
awsAccountId
- The Amazon Web Services account ID associated with the image.public String getAwsAccountId()
The Amazon Web Services account ID associated with the image.
public EnhancedImageScanFinding withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the image.
awsAccountId
- The Amazon Web Services account ID associated with the image.public void setDescription(String description)
The description of the finding.
description
- The description of the finding.public String getDescription()
The description of the finding.
public EnhancedImageScanFinding withDescription(String description)
The description of the finding.
description
- The description of the finding.public void setFindingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
findingArn
- The Amazon Resource Number (ARN) of the finding.public String getFindingArn()
The Amazon Resource Number (ARN) of the finding.
public EnhancedImageScanFinding withFindingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
findingArn
- The Amazon Resource Number (ARN) of the finding.public void setFirstObservedAt(Date firstObservedAt)
The date and time that the finding was first observed.
firstObservedAt
- The date and time that the finding was first observed.public Date getFirstObservedAt()
The date and time that the finding was first observed.
public EnhancedImageScanFinding withFirstObservedAt(Date firstObservedAt)
The date and time that the finding was first observed.
firstObservedAt
- The date and time that the finding was first observed.public void setLastObservedAt(Date lastObservedAt)
The date and time that the finding was last observed.
lastObservedAt
- The date and time that the finding was last observed.public Date getLastObservedAt()
The date and time that the finding was last observed.
public EnhancedImageScanFinding withLastObservedAt(Date lastObservedAt)
The date and time that the finding was last observed.
lastObservedAt
- The date and time that the finding was last observed.public void setPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
packageVulnerabilityDetails
- An object that contains the details of a package vulnerability finding.public PackageVulnerabilityDetails getPackageVulnerabilityDetails()
An object that contains the details of a package vulnerability finding.
public EnhancedImageScanFinding withPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
packageVulnerabilityDetails
- An object that contains the details of a package vulnerability finding.public void setRemediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
remediation
- An object that contains the details about how to remediate a finding.public Remediation getRemediation()
An object that contains the details about how to remediate a finding.
public EnhancedImageScanFinding withRemediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
remediation
- An object that contains the details about how to remediate a finding.public List<Resource> getResources()
Contains information on the resources involved in a finding.
public void setResources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
resources
- Contains information on the resources involved in a finding.public EnhancedImageScanFinding withResources(Resource... resources)
Contains information on the resources involved in a finding.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- Contains information on the resources involved in a finding.public EnhancedImageScanFinding withResources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
resources
- Contains information on the resources involved in a finding.public void setScore(Double score)
The Amazon Inspector score given to the finding.
score
- The Amazon Inspector score given to the finding.public Double getScore()
The Amazon Inspector score given to the finding.
public EnhancedImageScanFinding withScore(Double score)
The Amazon Inspector score given to the finding.
score
- The Amazon Inspector score given to the finding.public void setScoreDetails(ScoreDetails scoreDetails)
An object that contains details of the Amazon Inspector score.
scoreDetails
- An object that contains details of the Amazon Inspector score.public ScoreDetails getScoreDetails()
An object that contains details of the Amazon Inspector score.
public EnhancedImageScanFinding withScoreDetails(ScoreDetails scoreDetails)
An object that contains details of the Amazon Inspector score.
scoreDetails
- An object that contains details of the Amazon Inspector score.public void setSeverity(String severity)
The severity of the finding.
severity
- The severity of the finding.public String getSeverity()
The severity of the finding.
public EnhancedImageScanFinding withSeverity(String severity)
The severity of the finding.
severity
- The severity of the finding.public void setStatus(String status)
The status of the finding.
status
- The status of the finding.public String getStatus()
The status of the finding.
public EnhancedImageScanFinding withStatus(String status)
The status of the finding.
status
- The status of the finding.public void setTitle(String title)
The title of the finding.
title
- The title of the finding.public String getTitle()
The title of the finding.
public EnhancedImageScanFinding withTitle(String title)
The title of the finding.
title
- The title of the finding.public void setType(String type)
The type of the finding.
type
- The type of the finding.public String getType()
The type of the finding.
public EnhancedImageScanFinding withType(String type)
The type of the finding.
type
- The type of the finding.public void setUpdatedAt(Date updatedAt)
The date and time the finding was last updated at.
updatedAt
- The date and time the finding was last updated at.public Date getUpdatedAt()
The date and time the finding was last updated at.
public EnhancedImageScanFinding withUpdatedAt(Date updatedAt)
The date and time the finding was last updated at.
updatedAt
- The date and time the finding was last updated at.public String toString()
toString
in class Object
Object.toString()
public EnhancedImageScanFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.