CopyableBuilder<Finding.Builder,Finding>
, SdkBuilder<Finding.Builder,Finding>
public static interface Finding.Builder extends CopyableBuilder<Finding.Builder,Finding>
Modifier and Type | Method | Description |
---|---|---|
Finding.Builder |
arn(String arn) |
The ARN that specifies the finding.
|
Finding.Builder |
assetAttributes(AssetAttributes assetAttributes) |
A collection of attributes of the host from which the finding is generated.
|
Finding.Builder |
assetType(String assetType) |
The type of the host from which the finding is generated.
|
Finding.Builder |
assetType(AssetType assetType) |
The type of the host from which the finding is generated.
|
Finding.Builder |
attributes(Collection<Attribute> attributes) |
The system-defined attributes for the finding.
|
Finding.Builder |
attributes(Attribute... attributes) |
The system-defined attributes for the finding.
|
Finding.Builder |
confidence(Integer confidence) |
This data element is currently not used.
|
Finding.Builder |
createdAt(Date createdAt) |
The time when the finding was generated.
|
Finding.Builder |
description(String description) |
The description of the finding.
|
Finding.Builder |
id(String id) |
The ID of the finding.
|
Finding.Builder |
indicatorOfCompromise(Boolean indicatorOfCompromise) |
This data element is currently not used.
|
Finding.Builder |
numericSeverity(Double numericSeverity) |
The numeric value of the finding severity.
|
Finding.Builder |
recommendation(String recommendation) |
The recommendation for the finding.
|
Finding.Builder |
schemaVersion(Integer schemaVersion) |
The schema version of this data type.
|
Finding.Builder |
service(String service) |
The data element is set to "Inspector".
|
Finding.Builder |
serviceAttributes(InspectorServiceAttributes serviceAttributes) |
This data type is used in the Finding data type.
|
Finding.Builder |
severity(String severity) |
The finding severity.
|
Finding.Builder |
severity(Severity severity) |
The finding severity.
|
Finding.Builder |
title(String title) |
The name of the finding.
|
Finding.Builder |
updatedAt(Date updatedAt) |
The time when AddAttributesToFindings is called.
|
Finding.Builder |
userAttributes(Collection<Attribute> userAttributes) |
The user-defined attributes that are assigned to the finding.
|
Finding.Builder |
userAttributes(Attribute... userAttributes) |
The user-defined attributes that are assigned to the finding.
|
copy
apply, build
Finding.Builder arn(String arn)
The ARN that specifies the finding.
arn
- The ARN that specifies the finding.Finding.Builder schemaVersion(Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.Finding.Builder service(String service)
The data element is set to "Inspector".
service
- The data element is set to "Inspector".Finding.Builder serviceAttributes(InspectorServiceAttributes serviceAttributes)
This data type is used in the Finding data type.
serviceAttributes
- This data type is used in the Finding data type.Finding.Builder assetType(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
Finding.Builder assetType(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
Finding.Builder assetAttributes(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.Finding.Builder id(String id)
The ID of the finding.
id
- The ID of the finding.Finding.Builder title(String title)
The name of the finding.
title
- The name of the finding.Finding.Builder description(String description)
The description of the finding.
description
- The description of the finding.Finding.Builder recommendation(String recommendation)
The recommendation for the finding.
recommendation
- The recommendation for the finding.Finding.Builder severity(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
Finding.Builder severity(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
Finding.Builder numericSeverity(Double numericSeverity)
The numeric value of the finding severity.
numericSeverity
- The numeric value of the finding severity.Finding.Builder confidence(Integer confidence)
This data element is currently not used.
confidence
- This data element is currently not used.Finding.Builder indicatorOfCompromise(Boolean indicatorOfCompromise)
This data element is currently not used.
indicatorOfCompromise
- This data element is currently not used.Finding.Builder attributes(Collection<Attribute> attributes)
The system-defined attributes for the finding.
attributes
- The system-defined attributes for the finding.Finding.Builder attributes(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.Finding.Builder userAttributes(Collection<Attribute> userAttributes)
The user-defined attributes that are assigned to the finding.
userAttributes
- The user-defined attributes that are assigned to the finding.Finding.Builder userAttributes(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.Finding.Builder createdAt(Date createdAt)
The time when the finding was generated.
createdAt
- The time when the finding was generated.Finding.Builder updatedAt(Date updatedAt)
The time when AddAttributesToFindings is called.
updatedAt
- The time when AddAttributesToFindings is called.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.