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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MatchingResource.BuildermatchingBucket(Consumer<MatchingBucket.Builder> matchingBucket)The details of an S3 bucket that Amazon Macie monitors and analyzes.MatchingResource.BuildermatchingBucket(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 Detail
-
matchingBucket
MatchingResource.Builder matchingBucket(MatchingBucket 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
default MatchingResource.Builder matchingBucket(Consumer<MatchingBucket.Builder> matchingBucket)
The details of an S3 bucket that Amazon Macie monitors and analyzes.
This is a convenience method that creates an instance of theMatchingBucket.Builderavoiding the need to create one manually viaMatchingBucket.builder().When the
Consumercompletes,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:
matchingBucket(MatchingBucket)
-
-