@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetContactPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetContactPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getContactArn()
The ARN of the contact or escalation plan.
|
String |
getPolicy()
Details about the resource policy attached to the contact or escalation plan.
|
int |
hashCode() |
void |
setContactArn(String contactArn)
The ARN of the contact or escalation plan.
|
void |
setPolicy(String policy)
Details about the resource policy attached to the contact or escalation plan.
|
String |
toString()
Returns a string representation of this object.
|
GetContactPolicyResult |
withContactArn(String contactArn)
The ARN of the contact or escalation plan.
|
GetContactPolicyResult |
withPolicy(String policy)
Details about the resource policy attached to the contact or escalation plan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setContactArn(String contactArn)
The ARN of the contact or escalation plan.
contactArn - The ARN of the contact or escalation plan.public String getContactArn()
The ARN of the contact or escalation plan.
public GetContactPolicyResult withContactArn(String contactArn)
The ARN of the contact or escalation plan.
contactArn - The ARN of the contact or escalation plan.public void setPolicy(String policy)
Details about the resource policy attached to the contact or escalation plan.
policy - Details about the resource policy attached to the contact or escalation plan.public String getPolicy()
Details about the resource policy attached to the contact or escalation plan.
public GetContactPolicyResult withPolicy(String policy)
Details about the resource policy attached to the contact or escalation plan.
policy - Details about the resource policy attached to the contact or escalation plan.public String toString()
toString in class ObjectObject.toString()public GetContactPolicyResult clone()