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 a type of sensitive data to exclude from 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 a type of sensitive data to exclude from the bucket's score.suppressDataIdentifiers(SuppressDataIdentifier... suppressDataIdentifiers) An array of objects, one for each custom data identifier or managed data identifier that detected a type of sensitive data to exclude from the bucket's score.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, sdkFieldNameToField, 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 a type of sensitive data to exclude from the bucket's score. To include 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 a type of sensitive data to exclude from the bucket's score. To include 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 a type of sensitive data to exclude from the bucket's score. To include 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 a type of sensitive data to exclude from the bucket's score. To include 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 a type of sensitive data to exclude from the bucket's score. To include 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.Builderavoiding the need to create one manually viaSuppressDataIdentifier.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-