Interface UpdateResourceProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateResourceProfileRequest.Builder,
,UpdateResourceProfileRequest> Macie2Request.Builder
,SdkBuilder<UpdateResourceProfileRequest.Builder,
,UpdateResourceProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateResourceProfileRequest
@Mutable
@NotThreadSafe
public static interface UpdateResourceProfileRequest.Builder
extends Macie2Request.Builder, SdkPojo, CopyableBuilder<UpdateResourceProfileRequest.Builder,UpdateResourceProfileRequest>
-
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.sensitivityScoreOverride
(Integer sensitivityScoreOverride) The new sensitivity score for the bucket.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, 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.
-
sensitivityScoreOverride
The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
- Parameters:
sensitivityScoreOverride
- The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceProfileRequest.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
UpdateResourceProfileRequest.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.
-