@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmergencyContact extends Object implements Serializable, Cloneable, StructuredPojo
Contact information that the SRT can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
Constructor and Description |
---|
EmergencyContact() |
Modifier and Type | Method and Description |
---|---|
EmergencyContact |
clone() |
boolean |
equals(Object obj) |
String |
getContactNotes()
Additional notes regarding the contact.
|
String |
getEmailAddress()
The email address for the contact.
|
String |
getPhoneNumber()
The phone number for the contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContactNotes(String contactNotes)
Additional notes regarding the contact.
|
void |
setEmailAddress(String emailAddress)
The email address for the contact.
|
void |
setPhoneNumber(String phoneNumber)
The phone number for the contact.
|
String |
toString()
Returns a string representation of this object.
|
EmergencyContact |
withContactNotes(String contactNotes)
Additional notes regarding the contact.
|
EmergencyContact |
withEmailAddress(String emailAddress)
The email address for the contact.
|
EmergencyContact |
withPhoneNumber(String phoneNumber)
The phone number for the contact.
|
public void setEmailAddress(String emailAddress)
The email address for the contact.
emailAddress
- The email address for the contact.public String getEmailAddress()
The email address for the contact.
public EmergencyContact withEmailAddress(String emailAddress)
The email address for the contact.
emailAddress
- The email address for the contact.public void setPhoneNumber(String phoneNumber)
The phone number for the contact.
phoneNumber
- The phone number for the contact.public String getPhoneNumber()
The phone number for the contact.
public EmergencyContact withPhoneNumber(String phoneNumber)
The phone number for the contact.
phoneNumber
- The phone number for the contact.public void setContactNotes(String contactNotes)
Additional notes regarding the contact.
contactNotes
- Additional notes regarding the contact.public String getContactNotes()
Additional notes regarding the contact.
public EmergencyContact withContactNotes(String contactNotes)
Additional notes regarding the contact.
contactNotes
- Additional notes regarding the contact.public String toString()
toString
in class Object
Object.toString()
public EmergencyContact clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.