Interface FindingSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FindingSource.Builder,
,FindingSource> SdkBuilder<FindingSource.Builder,
,FindingSource> SdkPojo
- Enclosing class:
FindingSource
public static interface FindingSource.Builder
extends SdkPojo, CopyableBuilder<FindingSource.Builder,FindingSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FindingSource.Builder
detail
(Consumer<FindingSourceDetail.Builder> detail) Includes details about how the access that generated the finding is granted.detail
(FindingSourceDetail detail) Includes details about how the access that generated the finding is granted.Indicates the type of access that generated the finding.type
(FindingSourceType type) Indicates the type of access that generated the finding.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
-
type
Indicates the type of access that generated the finding.
- Parameters:
type
- Indicates the type of access that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Indicates the type of access that generated the finding.
- Parameters:
type
- Indicates the type of access that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detail
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
- Parameters:
detail
- Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
This is a convenience method that creates an instance of theFindingSourceDetail.Builder
avoiding the need to create one manually viaFindingSourceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetail(FindingSourceDetail)
.- Parameters:
detail
- a consumer that will call methods onFindingSourceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-