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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FindingSource.Builderdetail(Consumer<FindingSourceDetail.Builder> detail)Includes details about how the access that generated the finding is granted.FindingSource.Builderdetail(FindingSourceDetail detail)Includes details about how the access that generated the finding is granted.FindingSource.Buildertype(String type)Indicates the type of access that generated the finding.FindingSource.Buildertype(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 Detail
-
type
FindingSource.Builder type(String 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:
FindingSourceType,FindingSourceType
-
type
FindingSource.Builder type(FindingSourceType 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:
FindingSourceType,FindingSourceType
-
detail
FindingSource.Builder detail(FindingSourceDetail 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
default FindingSource.Builder detail(Consumer<FindingSourceDetail.Builder> 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.Builderavoiding the need to create one manually viaFindingSourceDetail.builder().When the
Consumercompletes,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:
detail(FindingSourceDetail)
-
-