Interface UpdateResourceProfileDetectionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateResourceProfileDetectionsRequest.Builder,
,UpdateResourceProfileDetectionsRequest> Macie2Request.Builder
,SdkBuilder<UpdateResourceProfileDetectionsRequest.Builder,
,UpdateResourceProfileDetectionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateResourceProfileDetectionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.suppressDataIdentifiers
(Collection<SuppressDataIdentifier> suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score.suppressDataIdentifiers
(Consumer<SuppressDataIdentifier.Builder>... suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score.suppressDataIdentifiers
(SuppressDataIdentifier... suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score.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
-
resourceArn
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressDataIdentifiers
UpdateResourceProfileDetectionsRequest.Builder suppressDataIdentifiers(Collection<SuppressDataIdentifier> suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
- Parameters:
suppressDataIdentifiers
- An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressDataIdentifiers
UpdateResourceProfileDetectionsRequest.Builder suppressDataIdentifiers(SuppressDataIdentifier... suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
- Parameters:
suppressDataIdentifiers
- An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressDataIdentifiers
UpdateResourceProfileDetectionsRequest.Builder suppressDataIdentifiers(Consumer<SuppressDataIdentifier.Builder>... suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
This is a convenience method that creates an instance of theSuppressDataIdentifier.Builder
avoiding the need to create one manually viaSuppressDataIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuppressDataIdentifiers(List<SuppressDataIdentifier>)
.- Parameters:
suppressDataIdentifiers
- a consumer that will call methods onSuppressDataIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateResourceProfileDetectionsRequest.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
UpdateResourceProfileDetectionsRequest.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.
-