@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanFinding extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a vulnerability scan finding.
Constructor and Description |
---|
ImageScanFinding() |
Modifier and Type | Method and Description |
---|---|
ImageScanFinding |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID that's associated with the finding.
|
String |
getDescription()
The description of the finding.
|
Date |
getFirstObservedAt()
The date and time when the finding was first observed.
|
String |
getFixAvailable()
Details about whether a fix is available for any of the packages that are identified in the finding through a
version update.
|
String |
getImageBuildVersionArn()
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
|
String |
getImagePipelineArn()
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
|
Double |
getInspectorScore()
The score that Amazon Inspector assigned for the finding.
|
InspectorScoreDetails |
getInspectorScoreDetails()
An object that contains details of the Amazon Inspector score.
|
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 the finding.
|
String |
getSeverity()
The severity of the finding.
|
String |
getTitle()
The title of the finding.
|
String |
getType()
The type of the finding.
|
Date |
getUpdatedAt()
The timestamp when the finding was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
|
void |
setDescription(String description)
The description of the finding.
|
void |
setFirstObservedAt(Date firstObservedAt)
The date and time when the finding was first observed.
|
void |
setFixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a
version update.
|
void |
setImageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
|
void |
setImagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
|
void |
setInspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
|
void |
setInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
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 the finding.
|
void |
setSeverity(String severity)
The severity 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 timestamp when the finding was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ImageScanFinding |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
|
ImageScanFinding |
withDescription(String description)
The description of the finding.
|
ImageScanFinding |
withFirstObservedAt(Date firstObservedAt)
The date and time when the finding was first observed.
|
ImageScanFinding |
withFixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a
version update.
|
ImageScanFinding |
withImageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
|
ImageScanFinding |
withImagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
|
ImageScanFinding |
withInspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
|
ImageScanFinding |
withInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
ImageScanFinding |
withPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
ImageScanFinding |
withRemediation(Remediation remediation)
An object that contains the details about how to remediate the finding.
|
ImageScanFinding |
withSeverity(String severity)
The severity of the finding.
|
ImageScanFinding |
withTitle(String title)
The title of the finding.
|
ImageScanFinding |
withType(String type)
The type of the finding.
|
ImageScanFinding |
withUpdatedAt(Date updatedAt)
The timestamp when the finding was last updated.
|
public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
awsAccountId
- The Amazon Web Services account ID that's associated with the finding.public String getAwsAccountId()
The Amazon Web Services account ID that's associated with the finding.
public ImageScanFinding withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
awsAccountId
- The Amazon Web Services account ID that's associated with the finding.public void setImageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
imageBuildVersionArn
- The Amazon Resource Name (ARN) of the image build version that's associated with the finding.public String getImageBuildVersionArn()
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
public ImageScanFinding withImageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
imageBuildVersionArn
- The Amazon Resource Name (ARN) of the image build version that's associated with the finding.public void setImagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
imagePipelineArn
- The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.public String getImagePipelineArn()
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
public ImageScanFinding withImagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
imagePipelineArn
- The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.public void setType(String type)
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that
apply to output images, and excludes other types.
type
- The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.public String getType()
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that
apply to output images, and excludes other types.
PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.public ImageScanFinding withType(String type)
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that
apply to output images, and excludes other types.
type
- The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.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 ImageScanFinding withDescription(String description)
The description of the finding.
description
- The description 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 ImageScanFinding withTitle(String title)
The title of the finding.
title
- The title of the finding.public void setRemediation(Remediation remediation)
An object that contains the details about how to remediate the finding.
remediation
- An object that contains the details about how to remediate the finding.public Remediation getRemediation()
An object that contains the details about how to remediate the finding.
public ImageScanFinding withRemediation(Remediation remediation)
An object that contains the details about how to remediate the finding.
remediation
- An object that contains the details about how to remediate the finding.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 ImageScanFinding withSeverity(String severity)
The severity of the finding.
severity
- The severity of the finding.public void setFirstObservedAt(Date firstObservedAt)
The date and time when the finding was first observed.
firstObservedAt
- The date and time when the finding was first observed.public Date getFirstObservedAt()
The date and time when the finding was first observed.
public ImageScanFinding withFirstObservedAt(Date firstObservedAt)
The date and time when the finding was first observed.
firstObservedAt
- The date and time when the finding was first observed.public void setUpdatedAt(Date updatedAt)
The timestamp when the finding was last updated.
updatedAt
- The timestamp when the finding was last updated.public Date getUpdatedAt()
The timestamp when the finding was last updated.
public ImageScanFinding withUpdatedAt(Date updatedAt)
The timestamp when the finding was last updated.
updatedAt
- The timestamp when the finding was last updated.public void setInspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
inspectorScore
- The score that Amazon Inspector assigned for the finding.public Double getInspectorScore()
The score that Amazon Inspector assigned for the finding.
public ImageScanFinding withInspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
inspectorScore
- The score that Amazon Inspector assigned for the finding.public void setInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
inspectorScoreDetails
- An object that contains details of the Amazon Inspector score.public InspectorScoreDetails getInspectorScoreDetails()
An object that contains details of the Amazon Inspector score.
public ImageScanFinding withInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
inspectorScoreDetails
- An object that contains details of the Amazon Inspector score.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 ImageScanFinding 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 setFixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
fixAvailable
- Details about whether a fix is available for any of the packages that are identified in the finding
through a version update.public String getFixAvailable()
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
public ImageScanFinding withFixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
fixAvailable
- Details about whether a fix is available for any of the packages that are identified in the finding
through a version update.public String toString()
toString
in class Object
Object.toString()
public ImageScanFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.