@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Finding extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
Constructor and Description |
---|
Finding() |
Modifier and Type | Method and Description |
---|---|
Finding |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN that specifies the finding.
|
AssetAttributes |
getAssetAttributes()
A collection of attributes of the host from which the finding is generated.
|
String |
getAssetType()
The type of the host from which the finding is generated.
|
List<Attribute> |
getAttributes()
The system-defined attributes for the finding.
|
Integer |
getConfidence()
This data element is currently not used.
|
Date |
getCreatedAt()
The time when the finding was generated.
|
String |
getDescription()
The description of the finding.
|
String |
getId()
The ID of the finding.
|
Boolean |
getIndicatorOfCompromise()
This data element is currently not used.
|
Double |
getNumericSeverity()
The numeric value of the finding severity.
|
String |
getRecommendation()
The recommendation for the finding.
|
Integer |
getSchemaVersion()
The schema version of this data type.
|
String |
getService()
The data element is set to "Inspector".
|
InspectorServiceAttributes |
getServiceAttributes()
This data type is used in the Finding data type.
|
String |
getSeverity()
The finding severity.
|
String |
getTitle()
The name of the finding.
|
Date |
getUpdatedAt()
The time when AddAttributesToFindings is called.
|
List<Attribute> |
getUserAttributes()
The user-defined attributes that are assigned to the finding.
|
int |
hashCode() |
Boolean |
isIndicatorOfCompromise()
This data element is currently not used.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
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 |
setId(String id)
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)
This data type is used in the Finding data type.
|
void |
setSeverity(Severity severity)
The finding severity.
|
void |
setSeverity(String severity)
The finding severity.
|
void |
setTitle(String title)
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.
|
String |
toString()
Returns a string representation of this object.
|
Finding |
withArn(String arn)
The ARN that specifies the finding.
|
Finding |
withAssetAttributes(AssetAttributes assetAttributes)
A collection of attributes of the host from which the finding is generated.
|
Finding |
withAssetType(AssetType assetType)
The type of the host from which the finding is generated.
|
Finding |
withAssetType(String assetType)
The type of the host from which the finding is generated.
|
Finding |
withAttributes(Attribute... attributes)
The system-defined attributes for the finding.
|
Finding |
withAttributes(Collection<Attribute> attributes)
The system-defined attributes for the finding.
|
Finding |
withConfidence(Integer confidence)
This data element is currently not used.
|
Finding |
withCreatedAt(Date createdAt)
The time when the finding was generated.
|
Finding |
withDescription(String description)
The description of the finding.
|
Finding |
withId(String id)
The ID of the finding.
|
Finding |
withIndicatorOfCompromise(Boolean indicatorOfCompromise)
This data element is currently not used.
|
Finding |
withNumericSeverity(Double numericSeverity)
The numeric value of the finding severity.
|
Finding |
withRecommendation(String recommendation)
The recommendation for the finding.
|
Finding |
withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
|
Finding |
withService(String service)
The data element is set to "Inspector".
|
Finding |
withServiceAttributes(InspectorServiceAttributes serviceAttributes)
This data type is used in the Finding data type.
|
Finding |
withSeverity(Severity severity)
The finding severity.
|
Finding |
withSeverity(String severity)
The finding severity.
|
Finding |
withTitle(String title)
The name of the finding.
|
Finding |
withUpdatedAt(Date updatedAt)
The time when AddAttributesToFindings is called.
|
Finding |
withUserAttributes(Attribute... userAttributes)
The user-defined attributes that are assigned to the finding.
|
Finding |
withUserAttributes(Collection<Attribute> userAttributes)
The user-defined attributes that are assigned to the finding.
|
public void setArn(String arn)
The ARN that specifies the finding.
arn
- The ARN that specifies the finding.public String getArn()
The ARN that specifies the finding.
public Finding withArn(String arn)
The ARN that specifies the finding.
arn
- The ARN that specifies the finding.public void setSchemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public Integer getSchemaVersion()
The schema version of this data type.
public Finding withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public void setService(String service)
The data element is set to "Inspector".
service
- The data element is set to "Inspector".public String getService()
The data element is set to "Inspector".
public Finding withService(String service)
The data element is set to "Inspector".
service
- The data element is set to "Inspector".public void setServiceAttributes(InspectorServiceAttributes serviceAttributes)
This data type is used in the Finding data type.
serviceAttributes
- This data type is used in the Finding data type.public InspectorServiceAttributes getServiceAttributes()
This data type is used in the Finding data type.
public Finding withServiceAttributes(InspectorServiceAttributes serviceAttributes)
This data type is used in the Finding data type.
serviceAttributes
- This data type is used in the Finding data type.public void setAssetType(String assetType)
The type of the host from which the finding is generated.
assetType
- The type of the host from which the finding is generated.AssetType
public String getAssetType()
The type of the host from which the finding is generated.
AssetType
public Finding withAssetType(String assetType)
The type of the host from which the finding is generated.
assetType
- The type of the host from which the finding is generated.AssetType
public void setAssetType(AssetType assetType)
The type of the host from which the finding is generated.
assetType
- The type of the host from which the finding is generated.AssetType
public Finding withAssetType(AssetType assetType)
The type of the host from which the finding is generated.
assetType
- The type of the host from which the finding is generated.AssetType
public void setAssetAttributes(AssetAttributes assetAttributes)
A collection of attributes of the host from which the finding is generated.
assetAttributes
- A collection of attributes of the host from which the finding is generated.public AssetAttributes getAssetAttributes()
A collection of attributes of the host from which the finding is generated.
public Finding withAssetAttributes(AssetAttributes assetAttributes)
A collection of attributes of the host from which the finding is generated.
assetAttributes
- A collection of attributes of the host from which the finding is generated.public void setId(String id)
The ID of the finding.
id
- The ID of the finding.public String getId()
The ID of the finding.
public Finding withId(String id)
The ID of the finding.
id
- The ID of the finding.public void setTitle(String title)
The name of the finding.
title
- The name of the finding.public String getTitle()
The name of the finding.
public Finding withTitle(String title)
The name of the finding.
title
- The name of 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 setRecommendation(String recommendation)
The recommendation for the finding.
recommendation
- The recommendation for the finding.public String getRecommendation()
The recommendation for the finding.
public Finding withRecommendation(String recommendation)
The recommendation for the finding.
recommendation
- The recommendation for the finding.public void setSeverity(String severity)
The finding severity. Values can be set to High, Medium, Low, and Informational.
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.Severity
public String getSeverity()
The finding severity. Values can be set to High, Medium, Low, and Informational.
Severity
public Finding withSeverity(String severity)
The finding severity. Values can be set to High, Medium, Low, and Informational.
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.Severity
public void setSeverity(Severity severity)
The finding severity. Values can be set to High, Medium, Low, and Informational.
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.Severity
public Finding withSeverity(Severity severity)
The finding severity. Values can be set to High, Medium, Low, and Informational.
severity
- The finding severity. Values can be set to High, Medium, Low, and Informational.Severity
public void setNumericSeverity(Double numericSeverity)
The numeric value of the finding severity.
numericSeverity
- The numeric value of the finding severity.public Double getNumericSeverity()
The numeric value of the finding severity.
public Finding withNumericSeverity(Double numericSeverity)
The numeric value of the finding severity.
numericSeverity
- The numeric value of the finding severity.public void setConfidence(Integer confidence)
This data element is currently not used.
confidence
- This data element is currently not used.public Integer getConfidence()
This data element is currently not used.
public Finding withConfidence(Integer confidence)
This data element is currently not used.
confidence
- This data element is currently not used.public void setIndicatorOfCompromise(Boolean indicatorOfCompromise)
This data element is currently not used.
indicatorOfCompromise
- This data element is currently not used.public Boolean getIndicatorOfCompromise()
This data element is currently not used.
public Finding withIndicatorOfCompromise(Boolean indicatorOfCompromise)
This data element is currently not used.
indicatorOfCompromise
- This data element is currently not used.public Boolean isIndicatorOfCompromise()
This data element is currently not used.
public List<Attribute> getAttributes()
The system-defined attributes for the finding.
public void setAttributes(Collection<Attribute> attributes)
The system-defined attributes for the finding.
attributes
- The system-defined attributes for the finding.public Finding withAttributes(Attribute... attributes)
The system-defined attributes for the finding.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The system-defined attributes for the finding.public Finding withAttributes(Collection<Attribute> attributes)
The system-defined attributes for the finding.
attributes
- The system-defined attributes for the finding.public List<Attribute> getUserAttributes()
The user-defined attributes that are assigned to the finding.
public void setUserAttributes(Collection<Attribute> userAttributes)
The user-defined attributes that are assigned to the finding.
userAttributes
- The user-defined attributes that are assigned to the finding.public Finding withUserAttributes(Attribute... userAttributes)
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)
or withUserAttributes(java.util.Collection)
if you want
to override the existing values.
userAttributes
- The user-defined attributes that are assigned to the finding.public Finding withUserAttributes(Collection<Attribute> userAttributes)
The user-defined attributes that are assigned to the finding.
userAttributes
- The user-defined attributes that are assigned to the finding.public void setCreatedAt(Date createdAt)
The time when the finding was generated.
createdAt
- The time when the finding was generated.public Date getCreatedAt()
The time when the finding was generated.
public Finding withCreatedAt(Date createdAt)
The time when the finding was generated.
createdAt
- The time when the finding was generated.public void setUpdatedAt(Date updatedAt)
The time when AddAttributesToFindings is called.
updatedAt
- The time when AddAttributesToFindings is called.public Date getUpdatedAt()
The time when AddAttributesToFindings is called.
public Finding withUpdatedAt(Date updatedAt)
The time when AddAttributesToFindings is called.
updatedAt
- The time when AddAttributesToFindings is called.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.