public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
Modifier and Type | Method and Description |
---|---|
Finding.Builder |
accountId(String accountId)
The ID of the account in which the finding was generated.
|
Finding.Builder |
arn(String arn)
The ARN of the finding.
|
Finding.Builder |
confidence(Double confidence)
The confidence score for the finding.
|
Finding.Builder |
createdAt(String createdAt)
The time and date when the finding was created.
|
Finding.Builder |
description(String description)
The description of the finding.
|
Finding.Builder |
id(String id)
The ID of the finding.
|
Finding.Builder |
partition(String partition)
The partition associated with the finding.
|
Finding.Builder |
region(String region)
The Region where the finding was generated.
|
default Finding.Builder |
resource(Consumer<Resource.Builder> resource)
Sets the value of the Resource property for this object.
|
Finding.Builder |
resource(Resource resource)
Sets the value of the Resource property for this object.
|
Finding.Builder |
schemaVersion(String schemaVersion)
The version of the schema used for the finding.
|
default Finding.Builder |
service(Consumer<Service.Builder> service)
Sets the value of the Service property for this object.
|
Finding.Builder |
service(Service service)
Sets the value of the Service property for this object.
|
Finding.Builder |
severity(Double severity)
The severity of the finding.
|
Finding.Builder |
title(String title)
The title of the finding.
|
Finding.Builder |
type(String type)
The type of finding.
|
Finding.Builder |
updatedAt(String updatedAt)
The time and date when the finding was last updated.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Finding.Builder accountId(String accountId)
The ID of the account in which the finding was generated.
accountId
- The ID of the account in which the finding was generated.Finding.Builder arn(String arn)
The ARN of the finding.
arn
- The ARN of the finding.Finding.Builder confidence(Double confidence)
The confidence score for the finding.
confidence
- The confidence score for the finding.Finding.Builder createdAt(String createdAt)
The time and date when the finding was created.
createdAt
- The time and date when the finding was created.Finding.Builder description(String description)
The description of the finding.
description
- The description of the finding.Finding.Builder id(String id)
The ID of the finding.
id
- The ID of the finding.Finding.Builder partition(String partition)
The partition associated with the finding.
partition
- The partition associated with the finding.Finding.Builder region(String region)
The Region where the finding was generated.
region
- The Region where the finding was generated.Finding.Builder resource(Resource resource)
resource
- The new value for the Resource property for this object.default Finding.Builder resource(Consumer<Resource.Builder> resource)
Resource.Builder
avoiding the need to create
one manually via Resource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to resource(Resource)
.resource
- a consumer that will call methods on Resource.Builder
resource(Resource)
Finding.Builder schemaVersion(String schemaVersion)
The version of the schema used for the finding.
schemaVersion
- The version of the schema used for the finding.Finding.Builder service(Service service)
service
- The new value for the Service property for this object.default Finding.Builder service(Consumer<Service.Builder> service)
Service.Builder
avoiding the need to create one
manually via Service.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to service(Service)
.service
- a consumer that will call methods on Service.Builder
service(Service)
Finding.Builder severity(Double severity)
The severity of the finding.
severity
- The severity of the finding.Finding.Builder title(String title)
The title of the finding.
title
- The title of the finding.Finding.Builder type(String type)
The type of finding.
type
- The type of finding.Finding.Builder updatedAt(String updatedAt)
The time and date when the finding was last updated.
updatedAt
- The time and date when the finding was last updated.