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()booleangetArn()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.inthashCode()This data element is currently not used.voidThe ARN that specifies the finding.voidsetAssetAttributes(AssetAttributes assetAttributes) A collection of attributes of the host from which the finding is generated.voidsetAssetType(AssetType assetType) The type of the host from which the finding is generated.voidsetAssetType(String assetType) The type of the host from which the finding is generated.voidsetAttributes(Collection<Attribute> attributes) The system-defined attributes for the finding.voidsetConfidence(Integer confidence) This data element is currently not used.voidsetCreatedAt(Date createdAt) The time when the finding was generated.voidsetDescription(String description) The description of the finding.voidThe ID of the finding.voidsetIndicatorOfCompromise(Boolean indicatorOfCompromise) This data element is currently not used.voidsetNumericSeverity(Double numericSeverity) The numeric value of the finding severity.voidsetRecommendation(String recommendation) The recommendation for the finding.voidsetSchemaVersion(Integer schemaVersion) The schema version of this data type.voidsetService(String service) The data element is set to "Inspector".voidsetServiceAttributes(InspectorServiceAttributes serviceAttributes) voidsetSeverity(Severity severity) The finding severity.voidsetSeverity(String severity) The finding severity.voidThe name of the finding.voidsetUpdatedAt(Date updatedAt) The time when AddAttributesToFindings is called.voidsetUserAttributes(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
-
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
-
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
-
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
-
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
-
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
-
getId
-
withId
-
setTitle
The name of the finding.
- Parameters:
title- The name of the finding.
-
getTitle
-
withTitle
-
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
-
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
-
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
-
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
-
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
-
isIndicatorOfCompromise
This data element is currently not used.
- Returns:
- This data element is currently not used.
-
getAttributes
-
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
-
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
-
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
-
equals
-
hashCode
-
clone
-