Class EmergencyContact
- java.lang.Object
-
- software.amazon.awssdk.services.shield.model.EmergencyContact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmergencyContact.Builder,EmergencyContact>
@Generated("software.amazon.awssdk:codegen") public final class EmergencyContact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmergencyContact.Builder,EmergencyContact>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmergencyContact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmergencyContact.Builderbuilder()StringcontactNotes()Additional notes regarding the contact.StringemailAddress()The email address for the contact.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringphoneNumber()The phone number for the contact.List<SdkField<?>>sdkFields()static Class<? extends EmergencyContact.Builder>serializableBuilderClass()EmergencyContact.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
emailAddress
public final String emailAddress()
The email address for the contact.
- Returns:
- The email address for the contact.
-
phoneNumber
public final String phoneNumber()
The phone number for the contact.
- Returns:
- The phone number for the contact.
-
contactNotes
public final String contactNotes()
Additional notes regarding the contact.
- Returns:
- Additional notes regarding the contact.
-
toBuilder
public EmergencyContact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmergencyContact.Builder,EmergencyContact>
-
builder
public static EmergencyContact.Builder builder()
-
serializableBuilderClass
public static Class<? extends EmergencyContact.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-