@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, withSdkRequestTimeout
public 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 Object
Object.toString()
public PutContactPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()