@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmergencyContact extends Object implements Serializable, Cloneable, StructuredPojo
Contact information that the DRT can use to contact you during a suspected attack.
Constructor and Description |
---|
EmergencyContact() |
Modifier and Type | Method and Description |
---|---|
EmergencyContact |
clone() |
boolean |
equals(Object obj) |
String |
getEmailAddress()
An email address that the DRT can use to contact you during a suspected attack.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailAddress(String emailAddress)
An email address that the DRT can use to contact you during a suspected attack.
|
String |
toString()
Returns a string representation of this object.
|
EmergencyContact |
withEmailAddress(String emailAddress)
An email address that the DRT can use to contact you during a suspected attack.
|
public void setEmailAddress(String emailAddress)
An email address that the DRT can use to contact you during a suspected attack.
emailAddress
- An email address that the DRT can use to contact you during a suspected attack.public String getEmailAddress()
An email address that the DRT can use to contact you during a suspected attack.
public EmergencyContact withEmailAddress(String emailAddress)
An email address that the DRT can use to contact you during a suspected attack.
emailAddress
- An email address that the DRT can use to contact you during a suspected attack.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.