@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitorContactResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
MonitorContactResult() |
Modifier and Type | Method and Description |
---|---|
MonitorContactResult |
clone() |
boolean |
equals(Object obj) |
String |
getContactArn()
The ARN of the contact.
|
String |
getContactId()
The identifier of the contact.
|
int |
hashCode() |
void |
setContactArn(String contactArn)
The ARN of the contact.
|
void |
setContactId(String contactId)
The identifier of the contact.
|
String |
toString()
Returns a string representation of this object.
|
MonitorContactResult |
withContactArn(String contactArn)
The ARN of the contact.
|
MonitorContactResult |
withContactId(String contactId)
The identifier of the contact.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContactId(String contactId)
The identifier of the contact.
contactId
- The identifier of the contact.public String getContactId()
The identifier of the contact.
public MonitorContactResult withContactId(String contactId)
The identifier of the contact.
contactId
- The identifier of the contact.public void setContactArn(String contactArn)
The ARN of the contact.
contactArn
- The ARN of the contact.public String getContactArn()
The ARN of the contact.
public MonitorContactResult withContactArn(String contactArn)
The ARN of the contact.
contactArn
- The ARN of the contact.public String toString()
toString
in class Object
Object.toString()
public MonitorContactResult clone()