public static interface Finding.Builder extends CopyableBuilder<Finding.Builder,Finding>
Modifier and Type | Method and 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.
|
default Finding.Builder |
assetAttributes(Consumer<AssetAttributes.Builder> assetAttributes)
A collection of attributes 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 |
assetType(String assetType)
The type of the host from which the finding is generated.
|
Finding.Builder |
attributes(Attribute... attributes)
The system-defined attributes for the finding.
|
Finding.Builder |
attributes(Collection<Attribute> attributes)
The system-defined attributes for the finding.
|
Finding.Builder |
confidence(Integer confidence)
This data element is currently not used.
|
Finding.Builder |
createdAt(Instant 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".
|
default Finding.Builder |
serviceAttributes(Consumer<InspectorServiceAttributes.Builder> serviceAttributes)
This data type is used in the Finding data type.
|
Finding.Builder |
serviceAttributes(InspectorServiceAttributes serviceAttributes)
This data type is used in the Finding data type.
|
Finding.Builder |
severity(Severity severity)
The finding severity.
|
Finding.Builder |
severity(String severity)
The finding severity.
|
Finding.Builder |
title(String title)
The name of the finding.
|
Finding.Builder |
updatedAt(Instant updatedAt)
The time when AddAttributesToFindings is called.
|
Finding.Builder |
userAttributes(Attribute... userAttributes)
The user-defined attributes that are assigned to the finding.
|
Finding.Builder |
userAttributes(Collection<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.default Finding.Builder serviceAttributes(Consumer<InspectorServiceAttributes.Builder> serviceAttributes)
This data type is used in the Finding data type.
This is a convenience that creates an instance of theInspectorServiceAttributes.Builder
avoiding the
need to create one manually via InspectorServiceAttributes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to serviceAttributes(InspectorServiceAttributes)
.serviceAttributes
- a consumer that will call methods on InspectorServiceAttributes.Builder
serviceAttributes(InspectorServiceAttributes)
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 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.default Finding.Builder assetAttributes(Consumer<AssetAttributes.Builder> assetAttributes)
A collection of attributes of the host from which the finding is generated.
This is a convenience that creates an instance of theAssetAttributes.Builder
avoiding the need to
create one manually via AssetAttributes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to assetAttributes(AssetAttributes)
.assetAttributes
- a consumer that will call methods on AssetAttributes.Builder
assetAttributes(AssetAttributes)
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.
Finding.Builder severity(Severity severity)
The finding severity. Values can be set to High, Medium, Low, and Informational.
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.
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.
userAttributes
- The user-defined attributes that are assigned to the finding.Finding.Builder createdAt(Instant createdAt)
The time when the finding was generated.
createdAt
- The time when the finding was generated.Finding.Builder updatedAt(Instant updatedAt)
The time when AddAttributesToFindings is called.
updatedAt
- The time when AddAttributesToFindings is called.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.