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 whoseDataProtectionPolicyyou want to add or update.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
Method Details
-
resourceArn
The ARN of the topic whose
DataProtectionPolicyyou 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 whoseDataProtectionPolicyyou 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
DataProtectionPolicymust be in JSON string format.Length Constraints: Maximum length of 30,720.
- Parameters:
dataProtectionPolicy- The JSON serialization of the topic'sDataProtectionPolicy.The
DataProtectionPolicymust 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-