Interface S3ResourceClassification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3ResourceClassification.Builder,
,S3ResourceClassification> SdkBuilder<S3ResourceClassification.Builder,
,S3ResourceClassification> SdkPojo
- Enclosing class:
S3ResourceClassification
public static interface S3ResourceClassification.Builder
extends SdkPojo, CopyableBuilder<S3ResourceClassification.Builder,S3ResourceClassification>
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) (Discontinued) The name of the S3 bucket that you want to associate with Amazon Macie Classic.default S3ResourceClassification.Builder
classificationType
(Consumer<ClassificationType.Builder> classificationType) (Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.classificationType
(ClassificationType classificationType) (Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.(Discontinued) The prefix of the S3 bucket that you want to associate with Amazon Macie Classic.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
-
bucketName
(Discontinued) The name of the S3 bucket that you want to associate with Amazon Macie Classic.
- Parameters:
bucketName
- (Discontinued) The name of the S3 bucket that you want to associate with Amazon Macie Classic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
(Discontinued) The prefix of the S3 bucket that you want to associate with Amazon Macie Classic.
- Parameters:
prefix
- (Discontinued) The prefix of the S3 bucket that you want to associate with Amazon Macie Classic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classificationType
(Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.
- Parameters:
classificationType
- (Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classificationType
default S3ResourceClassification.Builder classificationType(Consumer<ClassificationType.Builder> classificationType) (Discontinued) The classification type that you want to specify for the resource associated with Amazon Macie Classic.
This is a convenience method that creates an instance of theClassificationType.Builder
avoiding the need to create one manually viaClassificationType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclassificationType(ClassificationType)
.- Parameters:
classificationType
- a consumer that will call methods onClassificationType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-