Interface MatchingResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatchingResource.Builder,
,MatchingResource> SdkBuilder<MatchingResource.Builder,
,MatchingResource> SdkPojo
- Enclosing class:
MatchingResource
@Mutable
@NotThreadSafe
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 for your account.matchingBucket
(MatchingBucket matchingBucket) The details of an S3 bucket that Amazon Macie monitors and analyzes for your account.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, sdkFieldNameToField, sdkFields
-
Method Details
-
matchingBucket
The details of an S3 bucket that Amazon Macie monitors and analyzes for your account.
- Parameters:
matchingBucket
- The details of an S3 bucket that Amazon Macie monitors and analyzes for your account.- 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 for your account.
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:
-