@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutContactPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutContactPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutContactPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
String |
getPolicy()
Details of the resource policy.
|
int |
hashCode() |
void |
setContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
void |
setPolicy(String policy)
Details of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
PutContactPolicyRequest |
withContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
PutContactPolicyRequest |
withPolicy(String policy)
Details of the resource policy.
|
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 setContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
contactArn - The Amazon Resource Name (ARN) of the contact or escalation plan.public String getContactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
public PutContactPolicyRequest withContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
contactArn - The Amazon Resource Name (ARN) of the contact or escalation plan.public void setPolicy(String policy)
Details of the resource policy.
policy - Details of the resource policy.public String getPolicy()
Details of the resource policy.
public PutContactPolicyRequest withPolicy(String policy)
Details of the resource policy.
policy - Details of the resource policy.public String toString()
toString in class ObjectObject.toString()public PutContactPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()