@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDataProtectionPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutDataProtectionPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutDataProtectionPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataProtectionPolicy()
The JSON serialization of the topic's
DataProtectionPolicy. |
String |
getResourceArn()
The ARN of the topic whose
DataProtectionPolicy you want to add or update. |
int |
hashCode() |
void |
setDataProtectionPolicy(String dataProtectionPolicy)
The JSON serialization of the topic's
DataProtectionPolicy. |
void |
setResourceArn(String resourceArn)
The ARN of the topic whose
DataProtectionPolicy you want to add or update. |
String |
toString()
Returns a string representation of this object.
|
PutDataProtectionPolicyRequest |
withDataProtectionPolicy(String dataProtectionPolicy)
The JSON serialization of the topic's
DataProtectionPolicy. |
PutDataProtectionPolicyRequest |
withResourceArn(String resourceArn)
The ARN of the topic whose
DataProtectionPolicy you want to add or update. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceArn(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.
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.
public String getResourceArn()
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 PutDataProtectionPolicyRequest withResourceArn(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.
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.
public void setDataProtectionPolicy(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 JSON serialization of the topic's DataProtectionPolicy.
The DataProtectionPolicy must be in JSON string format.
Length Constraints: Maximum length of 30,720.
public String getDataProtectionPolicy()
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 withDataProtectionPolicy(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 JSON serialization of the topic's DataProtectionPolicy.
The DataProtectionPolicy must be in JSON string format.
Length Constraints: Maximum length of 30,720.
public String toString()
toString in class ObjectObject.toString()public PutDataProtectionPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()