@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Finding extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Amazon Inspector finding.
Constructor and Description |
---|
Finding() |
Modifier and Type | Method and Description |
---|---|
Finding |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID associated with the finding.
|
CodeVulnerabilityDetails |
getCodeVulnerabilityDetails()
Details about the code vulnerability identified in a Lambda function used to filter findings.
|
String |
getDescription()
The description of the finding.
|
EpssDetails |
getEpss()
The finding's EPSS score.
|
ExploitabilityDetails |
getExploitabilityDetails()
The details of an exploit available for a finding discovered in your environment.
|
String |
getExploitAvailable()
If a finding discovered in your environment has an exploit available.
|
String |
getFindingArn()
The Amazon Resource Number (ARN) of the finding.
|
Date |
getFirstObservedAt()
The date and time that the finding was first observed.
|
String |
getFixAvailable()
Details on whether a fix is available through a version update.
|
Double |
getInspectorScore()
The Amazon Inspector score given to the finding.
|
InspectorScoreDetails |
getInspectorScoreDetails()
An object that contains details of the Amazon Inspector score.
|
Date |
getLastObservedAt()
The date and time the finding was last observed.
|
NetworkReachabilityDetails |
getNetworkReachabilityDetails()
An object that contains the details of a network reachability finding.
|
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.
|
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 finding.
|
void |
setCodeVulnerabilityDetails(CodeVulnerabilityDetails codeVulnerabilityDetails)
Details about the code vulnerability identified in a Lambda function used to filter findings.
|
void |
setDescription(String description)
The description of the finding.
|
void |
setEpss(EpssDetails epss)
The finding's EPSS score.
|
void |
setExploitabilityDetails(ExploitabilityDetails exploitabilityDetails)
The details of an exploit available for a finding discovered in your environment.
|
void |
setExploitAvailable(String exploitAvailable)
If a finding discovered in your environment has an exploit available.
|
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 |
setFixAvailable(String fixAvailable)
Details on whether a fix is available through a version update.
|
void |
setInspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
|
void |
setInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
void |
setLastObservedAt(Date lastObservedAt)
The date and time the finding was last observed.
|
void |
setNetworkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
|
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 |
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.
|
Finding |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the finding.
|
Finding |
withCodeVulnerabilityDetails(CodeVulnerabilityDetails codeVulnerabilityDetails)
Details about the code vulnerability identified in a Lambda function used to filter findings.
|
Finding |
withDescription(String description)
The description of the finding.
|
Finding |
withEpss(EpssDetails epss)
The finding's EPSS score.
|
Finding |
withExploitabilityDetails(ExploitabilityDetails exploitabilityDetails)
The details of an exploit available for a finding discovered in your environment.
|
Finding |
withExploitAvailable(ExploitAvailable exploitAvailable)
If a finding discovered in your environment has an exploit available.
|
Finding |
withExploitAvailable(String exploitAvailable)
If a finding discovered in your environment has an exploit available.
|
Finding |
withFindingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
|
Finding |
withFirstObservedAt(Date firstObservedAt)
The date and time that the finding was first observed.
|
Finding |
withFixAvailable(FixAvailable fixAvailable)
Details on whether a fix is available through a version update.
|
Finding |
withFixAvailable(String fixAvailable)
Details on whether a fix is available through a version update.
|
Finding |
withInspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
|
Finding |
withInspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
Finding |
withLastObservedAt(Date lastObservedAt)
The date and time the finding was last observed.
|
Finding |
withNetworkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
|
Finding |
withPackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
Finding |
withRemediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
|
Finding |
withResources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
|
Finding |
withResources(Resource... resources)
Contains information on the resources involved in a finding.
|
Finding |
withSeverity(Severity severity)
The severity of the finding.
|
Finding |
withSeverity(String severity)
The severity of the finding.
|
Finding |
withStatus(FindingStatus status)
The status of the finding.
|
Finding |
withStatus(String status)
The status of the finding.
|
Finding |
withTitle(String title)
The title of the finding.
|
Finding |
withType(FindingType type)
The type of the finding.
|
Finding |
withType(String type)
The type of the finding.
|
Finding |
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 finding.
awsAccountId
- The Amazon Web Services account ID associated with the finding.public String getAwsAccountId()
The Amazon Web Services account ID associated with the finding.
public Finding withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the finding.
awsAccountId
- The Amazon Web Services account ID associated with the finding.public void setCodeVulnerabilityDetails(CodeVulnerabilityDetails codeVulnerabilityDetails)
Details about the code vulnerability identified in a Lambda function used to filter findings.
codeVulnerabilityDetails
- Details about the code vulnerability identified in a Lambda function used to filter findings.public CodeVulnerabilityDetails getCodeVulnerabilityDetails()
Details about the code vulnerability identified in a Lambda function used to filter findings.
public Finding withCodeVulnerabilityDetails(CodeVulnerabilityDetails codeVulnerabilityDetails)
Details about the code vulnerability identified in a Lambda function used to filter findings.
codeVulnerabilityDetails
- Details about the code vulnerability identified in a Lambda function used to filter findings.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 Finding withDescription(String description)
The description of the finding.
description
- The description of the finding.public void setEpss(EpssDetails epss)
The finding's EPSS score.
epss
- The finding's EPSS score.public EpssDetails getEpss()
The finding's EPSS score.
public Finding withEpss(EpssDetails epss)
The finding's EPSS score.
epss
- The finding's EPSS score.public void setExploitAvailable(String exploitAvailable)
If a finding discovered in your environment has an exploit available.
exploitAvailable
- If a finding discovered in your environment has an exploit available.ExploitAvailable
public String getExploitAvailable()
If a finding discovered in your environment has an exploit available.
ExploitAvailable
public Finding withExploitAvailable(String exploitAvailable)
If a finding discovered in your environment has an exploit available.
exploitAvailable
- If a finding discovered in your environment has an exploit available.ExploitAvailable
public Finding withExploitAvailable(ExploitAvailable exploitAvailable)
If a finding discovered in your environment has an exploit available.
exploitAvailable
- If a finding discovered in your environment has an exploit available.ExploitAvailable
public void setExploitabilityDetails(ExploitabilityDetails exploitabilityDetails)
The details of an exploit available for a finding discovered in your environment.
exploitabilityDetails
- The details of an exploit available for a finding discovered in your environment.public ExploitabilityDetails getExploitabilityDetails()
The details of an exploit available for a finding discovered in your environment.
public Finding withExploitabilityDetails(ExploitabilityDetails exploitabilityDetails)
The details of an exploit available for a finding discovered in your environment.
exploitabilityDetails
- The details of an exploit available for a finding discovered in your environment.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 Finding 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 Finding 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 setFixAvailable(String fixAvailable)
Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.
fixAvailable
- Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.FixAvailable
public String getFixAvailable()
Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.
YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.FixAvailable
public Finding withFixAvailable(String fixAvailable)
Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.
fixAvailable
- Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.FixAvailable
public Finding withFixAvailable(FixAvailable fixAvailable)
Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.
fixAvailable
- Details on whether a fix is available through a version update. This value can be YES
,
NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the
packages identified in the finding have fixes available through updated versions.FixAvailable
public void setInspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
inspectorScore
- The Amazon Inspector score given to the finding.public Double getInspectorScore()
The Amazon Inspector score given to the finding.
public Finding withInspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
inspectorScore
- The Amazon Inspector score given to 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 Finding 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 setLastObservedAt(Date lastObservedAt)
The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
lastObservedAt
- The date and time the finding was last observed. This timestamp for this field remains unchanged until a
finding is updated.public Date getLastObservedAt()
The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
public Finding withLastObservedAt(Date lastObservedAt)
The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
lastObservedAt
- The date and time the finding was last observed. This timestamp for this field remains unchanged until a
finding is updated.public void setNetworkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
networkReachabilityDetails
- An object that contains the details of a network reachability finding.public NetworkReachabilityDetails getNetworkReachabilityDetails()
An object that contains the details of a network reachability finding.
public Finding withNetworkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
networkReachabilityDetails
- An object that contains the details of a network reachability finding.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 Finding 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 Finding 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. The resource
value determines the valid
values for type
in your request. For more information, see Finding types in the Amazon
Inspector user guide.
resource
value determines
the valid values for type
in your request. For more information, see Finding types in the
Amazon Inspector user guide.public void setResources(Collection<Resource> resources)
Contains information on the resources involved in a finding. The resource
value determines the valid
values for type
in your request. For more information, see Finding types in the Amazon
Inspector user guide.
resources
- Contains information on the resources involved in a finding. The resource
value determines
the valid values for type
in your request. For more information, see Finding types in the
Amazon Inspector user guide.public Finding withResources(Resource... resources)
Contains information on the resources involved in a finding. The resource
value determines the valid
values for type
in your request. For more information, see Finding types in the Amazon
Inspector user guide.
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. The resource
value determines
the valid values for type
in your request. For more information, see Finding types in the
Amazon Inspector user guide.public Finding withResources(Collection<Resource> resources)
Contains information on the resources involved in a finding. The resource
value determines the valid
values for type
in your request. For more information, see Finding types in the Amazon
Inspector user guide.
resources
- Contains information on the resources involved in a finding. The resource
value determines
the valid values for type
in your request. For more information, see Finding types in the
Amazon Inspector user guide.public void setSeverity(String severity)
The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type findings
that the vendor has not assigned a severity yet. For more information, see Severity levels for
findings in the Amazon Inspector user guide.
severity
- The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type
findings that the vendor has not assigned a severity yet. For more information, see Severity
levels for findings in the Amazon Inspector user guide.Severity
public String getSeverity()
The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type findings
that the vendor has not assigned a severity yet. For more information, see Severity levels for
findings in the Amazon Inspector user guide.
UNTRIAGED
applies to PACKAGE_VULNERABILITY
type
findings that the vendor has not assigned a severity yet. For more information, see Severity
levels for findings in the Amazon Inspector user guide.Severity
public Finding withSeverity(String severity)
The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type findings
that the vendor has not assigned a severity yet. For more information, see Severity levels for
findings in the Amazon Inspector user guide.
severity
- The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type
findings that the vendor has not assigned a severity yet. For more information, see Severity
levels for findings in the Amazon Inspector user guide.Severity
public Finding withSeverity(Severity severity)
The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type findings
that the vendor has not assigned a severity yet. For more information, see Severity levels for
findings in the Amazon Inspector user guide.
severity
- The severity of the finding. UNTRIAGED
applies to PACKAGE_VULNERABILITY
type
findings that the vendor has not assigned a severity yet. For more information, see Severity
levels for findings in the Amazon Inspector user guide.Severity
public void setStatus(String status)
The status of the finding.
status
- The status of the finding.FindingStatus
public String getStatus()
The status of the finding.
FindingStatus
public Finding withStatus(String status)
The status of the finding.
status
- The status of the finding.FindingStatus
public Finding withStatus(FindingStatus status)
The status of the finding.
status
- The status of the finding.FindingStatus
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 Finding withTitle(String title)
The title of the finding.
title
- The title of the finding.public void setType(String type)
The type of the finding. The type
value determines the valid values for resource
in
your request. For more information, see Finding types in the Amazon
Inspector user guide.
type
- The type of the finding. The type
value determines the valid values for resource
in your request. For more information, see Finding types in the
Amazon Inspector user guide.FindingType
public String getType()
The type of the finding. The type
value determines the valid values for resource
in
your request. For more information, see Finding types in the Amazon
Inspector user guide.
type
value determines the valid values for
resource
in your request. For more information, see Finding types in the
Amazon Inspector user guide.FindingType
public Finding withType(String type)
The type of the finding. The type
value determines the valid values for resource
in
your request. For more information, see Finding types in the Amazon
Inspector user guide.
type
- The type of the finding. The type
value determines the valid values for resource
in your request. For more information, see Finding types in the
Amazon Inspector user guide.FindingType
public Finding withType(FindingType type)
The type of the finding. The type
value determines the valid values for resource
in
your request. For more information, see Finding types in the Amazon
Inspector user guide.
type
- The type of the finding. The type
value determines the valid values for resource
in your request. For more information, see Finding types in the
Amazon Inspector user guide.FindingType
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 Finding 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.