@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.
|
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.
|
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 that 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) |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the finding.
|
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 |
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 that 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 |
withDescription(String description)
The description of the finding.
|
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 |
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 that 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 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 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 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 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 Finding 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 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.
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 Finding 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 Finding 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 setSeverity(String severity)
The severity of the finding.
severity - The severity of the finding.Severitypublic String getSeverity()
The severity of the finding.
Severitypublic Finding withSeverity(String severity)
The severity of the finding.
severity - The severity of the finding.Severitypublic Finding withSeverity(Severity severity)
The severity of the finding.
severity - The severity of the finding.Severitypublic void setStatus(String status)
The status of the finding.
status - The status of the finding.FindingStatuspublic String getStatus()
The status of the finding.
FindingStatuspublic Finding withStatus(String status)
The status of the finding.
status - The status of the finding.FindingStatuspublic Finding withStatus(FindingStatus status)
The status of the finding.
status - The status of the finding.FindingStatuspublic 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.
type - The type of the finding.FindingTypepublic String getType()
The type of the finding.
FindingTypepublic Finding withType(String type)
The type of the finding.
type - The type of the finding.FindingTypepublic Finding withType(FindingType type)
The type of the finding.
type - The type of the finding.FindingTypepublic 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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.