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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDataProtectionPolicyRequest.Builder
dataProtectionPolicy(String dataProtectionPolicy)
The JSON serialization of the topic'sDataProtectionPolicy
.PutDataProtectionPolicyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutDataProtectionPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
PutDataProtectionPolicyRequest.Builder
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 Detail
-
resourceArn
PutDataProtectionPolicyRequest.Builder resourceArn(String 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
PutDataProtectionPolicyRequest.Builder dataProtectionPolicy(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutDataProtectionPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-