Interface UpdateClassificationScopeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClassificationScopeRequest.Builder,
,UpdateClassificationScopeRequest> Macie2Request.Builder
,SdkBuilder<UpdateClassificationScopeRequest.Builder,
,UpdateClassificationScopeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClassificationScopeRequest
public static interface UpdateClassificationScopeRequest.Builder
extends Macie2Request.Builder, SdkPojo, CopyableBuilder<UpdateClassificationScopeRequest.Builder,UpdateClassificationScopeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the Amazon Macie resource that the request applies to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The S3 buckets to add or remove from the exclusion list defined by the classification scope.The S3 buckets to add or remove from the exclusion list defined by the classification scope.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
build
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
-
id
The unique identifier for the Amazon Macie resource that the request applies to.
- Parameters:
id
- The unique identifier for the Amazon Macie resource that the request applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
- Parameters:
s3
- The S3 buckets to add or remove from the exclusion list defined by the classification scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default UpdateClassificationScopeRequest.Builder s3(Consumer<S3ClassificationScopeUpdate.Builder> s3) The S3 buckets to add or remove from the exclusion list defined by the classification scope.
This is a convenience method that creates an instance of theS3ClassificationScopeUpdate.Builder
avoiding the need to create one manually viaS3ClassificationScopeUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3ClassificationScopeUpdate)
.- Parameters:
s3
- a consumer that will call methods onS3ClassificationScopeUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateClassificationScopeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateClassificationScopeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-