Interface MatchingResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatchingResource.Builder,
,MatchingResource> SdkBuilder<MatchingResource.Builder,
,MatchingResource> SdkPojo
- Enclosing class:
MatchingResource
public static interface MatchingResource.Builder
extends SdkPojo, CopyableBuilder<MatchingResource.Builder,MatchingResource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchingResource.Builder
matchingBucket
(Consumer<MatchingBucket.Builder> matchingBucket) The details of an S3 bucket that Amazon Macie monitors and analyzes.matchingBucket
(MatchingBucket matchingBucket) The details of an S3 bucket that Amazon Macie monitors and analyzes.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
-
matchingBucket
The details of an S3 bucket that Amazon Macie monitors and analyzes.
- Parameters:
matchingBucket
- The details of an S3 bucket that Amazon Macie monitors and analyzes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingBucket
The details of an S3 bucket that Amazon Macie monitors and analyzes.
This is a convenience method that creates an instance of theMatchingBucket.Builder
avoiding the need to create one manually viaMatchingBucket.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchingBucket(MatchingBucket)
.- Parameters:
matchingBucket
- a consumer that will call methods onMatchingBucket.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-