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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaS3ClassificationScopeUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-