@Generated(value="software.amazon.awssdk:codegen") public final class ContactChannel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContactChannel.Builder,ContactChannel>
The method that Incident Manager uses to engage a contact.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContactChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
ActivationStatus |
activationStatus()
A Boolean value describing if the contact channel has been activated or not.
|
String |
activationStatusAsString()
A Boolean value describing if the contact channel has been activated or not.
|
static ContactChannel.Builder |
builder() |
String |
contactArn()
The ARN of the contact that contains the contact channel.
|
String |
contactChannelArn()
The Amazon Resource Name (ARN) of the contact channel.
|
ContactChannelAddress |
deliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the contact channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContactChannel.Builder> |
serializableBuilderClass() |
ContactChannel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelType |
type()
The type of the contact channel.
|
String |
typeAsString()
The type of the contact channel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactChannelArn()
The Amazon Resource Name (ARN) of the contact channel.
public final String contactArn()
The ARN of the contact that contains the contact channel.
public final String name()
The name of the contact channel.
public final ChannelType type()
The type of the contact channel. Incident Manager supports three contact methods:
SMS
VOICE
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SMS
VOICE
ChannelTypepublic final String typeAsString()
The type of the contact channel. Incident Manager supports three contact methods:
SMS
VOICE
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SMS
VOICE
ChannelTypepublic final ContactChannelAddress deliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
public final ActivationStatus activationStatus()
A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
If the service returns an enum value that is not available in the current SDK version, activationStatus
will return ActivationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from activationStatusAsString().
ActivationStatuspublic final String activationStatusAsString()
A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
If the service returns an enum value that is not available in the current SDK version, activationStatus
will return ActivationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from activationStatusAsString().
ActivationStatuspublic ContactChannel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContactChannel.Builder,ContactChannel>public static ContactChannel.Builder builder()
public static Class<? extends ContactChannel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.