Interface Finding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Finding.Builder,
,Finding> SdkBuilder<Finding.Builder,
,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the account in which the finding was generated.The ARN of the finding.confidence
(Double confidence) The confidence score for the finding.The time and date when the finding was created.description
(String description) The description of the finding.The ID of the finding.The partition associated with the finding.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.Sets the value of the Resource property for this object.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.Sets the value of the Service property for this object.The severity of the finding.The title of the finding.The type of finding.The time and date when the finding was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The ID of the account in which the finding was generated.
- Parameters:
accountId
- The ID of the account in which the finding was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the finding.
- Parameters:
arn
- The ARN of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
The confidence score for the finding.
- Parameters:
confidence
- The confidence score for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time and date when the finding was created.
- Parameters:
createdAt
- The time and date when the finding was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the finding.
- Parameters:
description
- The description of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the finding.
- Parameters:
id
- The ID of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partition
The partition associated with the finding.
- Parameters:
partition
- The partition associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Region where the finding was generated.
- Parameters:
region
- The Region where the finding was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource
- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaVersion
The version of the schema used for the finding.
- Parameters:
schemaVersion
- The version of the schema used for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
Sets the value of the Service property for this object.- Parameters:
service
- The new value for the Service property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
Sets the value of the Service property for this object. This is a convenience method that creates an instance of theService.Builder
avoiding the need to create one manually viaService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservice(Service)
.- Parameters:
service
- a consumer that will call methods onService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the finding.
- Parameters:
severity
- The severity of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the finding.
- Parameters:
title
- The title of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of finding.
- Parameters:
type
- The type of finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time and date when the finding was last updated.
- Parameters:
updatedAt
- The time and date when the finding was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-