Class Contact
- java.lang.Object
-
- software.amazon.awssdk.services.ssmcontacts.model.Contact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Contact.Builder,Contact>
@Generated("software.amazon.awssdk:codegen") public final class Contact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Contact.Builder,Contact>
A personal contact or escalation plan that Incident Manager engages during an incident.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringalias()The unique and identifiable alias of the contact or escalation plan.static Contact.Builderbuilder()StringcontactArn()The Amazon Resource Name (ARN) of the contact or escalation plan.StringdisplayName()The full name of the contact or escalation plan.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Contact.Builder>serializableBuilderClass()Contact.BuildertoBuilder()StringtoString()Returns a string representation of this object.ContactTypetype()Refers to the type of contact.StringtypeAsString()Refers to the type of contact.-
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
-
contactArn
public final String contactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
- Returns:
- The Amazon Resource Name (ARN) of the contact or escalation plan.
-
alias
public final String alias()
The unique and identifiable alias of the contact or escalation plan.
- Returns:
- The unique and identifiable alias of the contact or escalation plan.
-
displayName
public final String displayName()
The full name of the contact or escalation plan.
- Returns:
- The full name of the contact or escalation plan.
-
type
public final ContactType type()
Refers to the type of contact. A single contact is type
PERSONALand an escalation plan is typeESCALATION.If the service returns an enum value that is not available in the current SDK version,
typewill returnContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Refers to the type of contact. A single contact is type
PERSONALand an escalation plan is typeESCALATION. - See Also:
ContactType
-
typeAsString
public final String typeAsString()
Refers to the type of contact. A single contact is type
PERSONALand an escalation plan is typeESCALATION.If the service returns an enum value that is not available in the current SDK version,
typewill returnContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Refers to the type of contact. A single contact is type
PERSONALand an escalation plan is typeESCALATION. - See Also:
ContactType
-
toBuilder
public Contact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Contact.Builder,Contact>
-
builder
public static Contact.Builder builder()
-
serializableBuilderClass
public static Class<? extends Contact.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.
-
-