Interface PutDataProtectionPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>,SdkBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>,SdkPojo,SdkRequest.Builder,SnsRequest.Builder
- Enclosing class:
- PutDataProtectionPolicyRequest
@Mutable @NotThreadSafe public static interface PutDataProtectionPolicyRequest.Builder extends SnsRequest.Builder, SdkPojo, CopyableBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDataProtectionPolicyRequest.BuilderdataProtectionPolicy(String dataProtectionPolicy)The JSON serialization of the topic'sDataProtectionPolicy.PutDataProtectionPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutDataProtectionPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutDataProtectionPolicyRequest.BuilderresourceArn(String resourceArn)The ARN of the topic whoseDataProtectionPolicyyou 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
-
-
-
Method Detail
-
resourceArn
PutDataProtectionPolicyRequest.Builder resourceArn(String 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
PutDataProtectionPolicyRequest.Builder dataProtectionPolicy(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutDataProtectionPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-