@Generated(value="software.amazon.awssdk:codegen") public final class PutDataProtectionPolicyRequest extends SnsRequest implements ToCopyableBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutDataProtectionPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutDataProtectionPolicyRequest.Builder |
builder() |
String |
dataProtectionPolicy()
The JSON serialization of the topic's
DataProtectionPolicy. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
The ARN of the topic whose
DataProtectionPolicy you want to add or update. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutDataProtectionPolicyRequest.Builder> |
serializableBuilderClass() |
PutDataProtectionPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
DataProtectionPolicy you want to add or update.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
public final 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.
DataProtectionPolicy.
The DataProtectionPolicy must be in JSON string format.
Length Constraints: Maximum length of 30,720.
public PutDataProtectionPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutDataProtectionPolicyRequest.Builder,PutDataProtectionPolicyRequest>toBuilder in class SnsRequestpublic static PutDataProtectionPolicyRequest.Builder builder()
public static Class<? extends PutDataProtectionPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.