@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Contact.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The unique and identifiable alias of the contact or escalation plan.
|
static Contact.Builder |
builder() |
String |
contactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
String |
displayName()
The full name of the contact or escalation plan.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Contact.Builder> |
serializableBuilderClass() |
Contact.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ContactType |
type()
Refers to the type of contact.
|
String |
typeAsString()
Refers to the type of contact.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
public final String alias()
The unique and identifiable alias of the contact or escalation plan.
public final String displayName()
The full name of the contact or escalation plan.
public final ContactType type()
Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type
ESCALATION.
If the service returns an enum value that is not available in the current SDK version, type will return
ContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PERSONAL and an escalation plan is
type ESCALATION.ContactTypepublic final String typeAsString()
Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type
ESCALATION.
If the service returns an enum value that is not available in the current SDK version, type will return
ContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PERSONAL and an escalation plan is
type ESCALATION.ContactTypepublic Contact.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Contact.Builder,Contact>public static Contact.Builder builder()
public static Class<? extends Contact.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.