Interface PutDataProtectionPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutDataProtectionPolicyRequest.Builder,
,PutDataProtectionPolicyRequest> SdkBuilder<PutDataProtectionPolicyRequest.Builder,
,PutDataProtectionPolicyRequest> SdkPojo
,SdkRequest.Builder
,SnsRequest.Builder
- Enclosing class:
PutDataProtectionPolicyRequest
public static interface PutDataProtectionPolicyRequest.Builder
extends SnsRequest.Builder, SdkPojo, CopyableBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondataProtectionPolicy
(String dataProtectionPolicy) The JSON serialization of the topic'sDataProtectionPolicy
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) The ARN of the topic whoseDataProtectionPolicy
you want to add or update.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
Method Details
-
resourceArn
The ARN of the topic whose
DataProtectionPolicy
you want to add or update.For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Parameters:
resourceArn
- The ARN of the topic whoseDataProtectionPolicy
you want to add or update.For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProtectionPolicy
The JSON serialization of the topic's
DataProtectionPolicy
.The
DataProtectionPolicy
must be in JSON string format.Length Constraints: Maximum length of 30,720.
- Parameters:
dataProtectionPolicy
- The JSON serialization of the topic'sDataProtectionPolicy
.The
DataProtectionPolicy
must be in JSON string format.Length Constraints: Maximum length of 30,720.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDataProtectionPolicyRequest.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
PutDataProtectionPolicyRequest.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.
-