Interface Finding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Finding.Builder,
,Finding> SdkBuilder<Finding.Builder,
,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The timestamp for when a finding was created.default Finding.Builder
details
(Consumer<FindingDetails.Builder> details) Details about the finding.details
(FindingDetails details) Details about the finding.The ID assigned to the finding.lastModifiedTime
(Instant lastModifiedTime) The timestamp for when the finding was most recently updated with additional information.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
-
creationTime
The timestamp for when a finding was created.
- Parameters:
creationTime
- The timestamp for when a finding was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the finding.
- Parameters:
details
- Details about the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the finding.
This is a convenience method that creates an instance of theFindingDetails.Builder
avoiding the need to create one manually viaFindingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(FindingDetails)
.- Parameters:
details
- a consumer that will call methods onFindingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID assigned to the finding.
- Parameters:
id
- The ID assigned to the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp for when the finding was most recently updated with additional information.
- Parameters:
lastModifiedTime
- The timestamp for when the finding was most recently updated with additional information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-