Class Finding
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN that specifies the finding.A collection of attributes of the host from which the finding is generated.The type of the host from which the finding is generated.The system-defined attributes for the finding.This data element is currently not used.The time when the finding was generated.The description of the finding.getId()
The ID of the finding.This data element is currently not used.The numeric value of the finding severity.The recommendation for the finding.The schema version of this data type.The data element is set to "Inspector".The finding severity.getTitle()
The name of the finding.The time when AddAttributesToFindings is called.The user-defined attributes that are assigned to the finding.int
hashCode()
This data element is currently not used.void
The ARN that specifies the finding.void
setAssetAttributes
(AssetAttributes assetAttributes) A collection of attributes of the host from which the finding is generated.void
setAssetType
(AssetType assetType) The type of the host from which the finding is generated.void
setAssetType
(String assetType) The type of the host from which the finding is generated.void
setAttributes
(Collection<Attribute> attributes) The system-defined attributes for the finding.void
setConfidence
(Integer confidence) This data element is currently not used.void
setCreatedAt
(Date createdAt) The time when the finding was generated.void
setDescription
(String description) The description of the finding.void
The ID of the finding.void
setIndicatorOfCompromise
(Boolean indicatorOfCompromise) This data element is currently not used.void
setNumericSeverity
(Double numericSeverity) The numeric value of the finding severity.void
setRecommendation
(String recommendation) The recommendation for the finding.void
setSchemaVersion
(Integer schemaVersion) The schema version of this data type.void
setService
(String service) The data element is set to "Inspector".void
setServiceAttributes
(InspectorServiceAttributes serviceAttributes) void
setSeverity
(Severity severity) The finding severity.void
setSeverity
(String severity) The finding severity.void
The name of the finding.void
setUpdatedAt
(Date updatedAt) The time when AddAttributesToFindings is called.void
setUserAttributes
(Collection<Attribute> userAttributes) The user-defined attributes that are assigned to the finding.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN that specifies the finding.withAssetAttributes
(AssetAttributes assetAttributes) A collection of attributes of the host from which the finding is generated.withAssetType
(AssetType assetType) The type of the host from which the finding is generated.withAssetType
(String assetType) The type of the host from which the finding is generated.withAttributes
(Attribute... attributes) The system-defined attributes for the finding.withAttributes
(Collection<Attribute> attributes) The system-defined attributes for the finding.withConfidence
(Integer confidence) This data element is currently not used.withCreatedAt
(Date createdAt) The time when the finding was generated.withDescription
(String description) The description of the finding.The ID of the finding.withIndicatorOfCompromise
(Boolean indicatorOfCompromise) This data element is currently not used.withNumericSeverity
(Double numericSeverity) The numeric value of the finding severity.withRecommendation
(String recommendation) The recommendation for the finding.withSchemaVersion
(Integer schemaVersion) The schema version of this data type.withService
(String service) The data element is set to "Inspector".withServiceAttributes
(InspectorServiceAttributes serviceAttributes) withSeverity
(Severity severity) The finding severity.withSeverity
(String severity) The finding severity.The name of the finding.withUpdatedAt
(Date updatedAt) The time when AddAttributesToFindings is called.withUserAttributes
(Attribute... userAttributes) The user-defined attributes that are assigned to the finding.withUserAttributes
(Collection<Attribute> userAttributes) The user-defined attributes that are assigned to the finding.
-
Constructor Details
-
Finding
public Finding()
-
-
Method Details
-
setArn
The ARN that specifies the finding.
- Parameters:
arn
- The ARN that specifies the finding.
-
getArn
The ARN that specifies the finding.
- Returns:
- The ARN that specifies the finding.
-
withArn
The ARN that specifies the finding.
- Parameters:
arn
- The ARN that specifies the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSchemaVersion
The schema version of this data type.
- Parameters:
schemaVersion
- The schema version of this data type.
-
getSchemaVersion
The schema version of this data type.
- Returns:
- The schema version of this data type.
-
withSchemaVersion
The schema version of this data type.
- Parameters:
schemaVersion
- The schema version of this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setService
The data element is set to "Inspector".
- Parameters:
service
- The data element is set to "Inspector".
-
getService
The data element is set to "Inspector".
- Returns:
- The data element is set to "Inspector".
-
withService
The data element is set to "Inspector".
- Parameters:
service
- The data element is set to "Inspector".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceAttributes
- Parameters:
serviceAttributes
-
-
getServiceAttributes
- Returns:
-
withServiceAttributes
- Parameters:
serviceAttributes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssetType
The type of the host from which the finding is generated.
- Parameters:
assetType
- The type of the host from which the finding is generated.- See Also:
-
getAssetType
The type of the host from which the finding is generated.
- Returns:
- The type of the host from which the finding is generated.
- See Also:
-
withAssetType
The type of the host from which the finding is generated.
- Parameters:
assetType
- The type of the host from which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAssetType
The type of the host from which the finding is generated.
- Parameters:
assetType
- The type of the host from which the finding is generated.- See Also:
-
withAssetType
The type of the host from which the finding is generated.
- Parameters:
assetType
- The type of the host from which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAssetAttributes
A collection of attributes of the host from which the finding is generated.
- Parameters:
assetAttributes
- A collection of attributes of the host from which the finding is generated.
-
getAssetAttributes
A collection of attributes of the host from which the finding is generated.
- Returns:
- A collection of attributes of the host from which the finding is generated.
-
withAssetAttributes
A collection of attributes of the host from which the finding is generated.
- Parameters:
assetAttributes
- A collection of attributes of the host from which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setId
The ID of the finding.
- Parameters:
id
- The ID of the finding.
-
getId
The ID of the finding.
- Returns:
- The ID of the finding.
-
withId
The ID of the finding.
- Parameters:
id
- The ID of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTitle
The name of the finding.
- Parameters:
title
- The name of the finding.
-
getTitle
The name of the finding.
- Returns:
- The name of the finding.
-
withTitle
The name of the finding.
- Parameters:
title
- The name of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the finding.
- Parameters:
description
- The description of the finding.
-
getDescription
The description of the finding.
- Returns:
- The description of the finding.
-
withDescription
The description of the finding.
- Parameters:
description
- The description of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecommendation
The recommendation for the finding.
- Parameters:
recommendation
- The recommendation for the finding.
-
getRecommendation
The recommendation for the finding.
- Returns:
- The recommendation for the finding.
-
withRecommendation
The recommendation for the finding.
- Parameters:
recommendation
- The recommendation for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSeverity
The finding severity. Values can be set to High, Medium, Low, and Informational.
- Parameters:
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.- See Also:
-
getSeverity
The finding severity. Values can be set to High, Medium, Low, and Informational.
- Returns:
- The finding severity. Values can be set to High, Medium, Low, and Informational.
- See Also:
-
withSeverity
The finding severity. Values can be set to High, Medium, Low, and Informational.
- Parameters:
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSeverity
The finding severity. Values can be set to High, Medium, Low, and Informational.
- Parameters:
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.- See Also:
-
withSeverity
The finding severity. Values can be set to High, Medium, Low, and Informational.
- Parameters:
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setNumericSeverity
The numeric value of the finding severity.
- Parameters:
numericSeverity
- The numeric value of the finding severity.
-
getNumericSeverity
The numeric value of the finding severity.
- Returns:
- The numeric value of the finding severity.
-
withNumericSeverity
The numeric value of the finding severity.
- Parameters:
numericSeverity
- The numeric value of the finding severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConfidence
This data element is currently not used.
- Parameters:
confidence
- This data element is currently not used.
-
getConfidence
This data element is currently not used.
- Returns:
- This data element is currently not used.
-
withConfidence
This data element is currently not used.
- Parameters:
confidence
- This data element is currently not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIndicatorOfCompromise
This data element is currently not used.
- Parameters:
indicatorOfCompromise
- This data element is currently not used.
-
getIndicatorOfCompromise
This data element is currently not used.
- Returns:
- This data element is currently not used.
-
withIndicatorOfCompromise
This data element is currently not used.
- Parameters:
indicatorOfCompromise
- This data element is currently not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIndicatorOfCompromise
This data element is currently not used.
- Returns:
- This data element is currently not used.
-
getAttributes
The system-defined attributes for the finding.
- Returns:
- The system-defined attributes for the finding.
-
setAttributes
The system-defined attributes for the finding.
- Parameters:
attributes
- The system-defined attributes for the finding.
-
withAttributes
The system-defined attributes for the finding.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- The system-defined attributes for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
The system-defined attributes for the finding.
- Parameters:
attributes
- The system-defined attributes for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUserAttributes
The user-defined attributes that are assigned to the finding.
- Returns:
- The user-defined attributes that are assigned to the finding.
-
setUserAttributes
The user-defined attributes that are assigned to the finding.
- Parameters:
userAttributes
- The user-defined attributes that are assigned to the finding.
-
withUserAttributes
The user-defined attributes that are assigned to the finding.
NOTE: This method appends the values to the existing list (if any). Use
setUserAttributes(java.util.Collection)
orwithUserAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
userAttributes
- The user-defined attributes that are assigned to the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUserAttributes
The user-defined attributes that are assigned to the finding.
- Parameters:
userAttributes
- The user-defined attributes that are assigned to the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
The time when the finding was generated.
- Parameters:
createdAt
- The time when the finding was generated.
-
getCreatedAt
The time when the finding was generated.
- Returns:
- The time when the finding was generated.
-
withCreatedAt
The time when the finding was generated.
- Parameters:
createdAt
- The time when the finding was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUpdatedAt
The time when AddAttributesToFindings is called.
- Parameters:
updatedAt
- The time when AddAttributesToFindings is called.
-
getUpdatedAt
The time when AddAttributesToFindings is called.
- Returns:
- The time when AddAttributesToFindings is called.
-
withUpdatedAt
The time when AddAttributesToFindings is called.
- Parameters:
updatedAt
- The time when AddAttributesToFindings is called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-