@Generated(value="software.amazon.awssdk:codegen") public final class CreateContactChannelRequest extends SsmContactsRequest implements ToCopyableBuilder<CreateContactChannelRequest.Builder,CreateContactChannelRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateContactChannelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateContactChannelRequest.Builder |
builder() |
String |
contactId()
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
|
Boolean |
deferActivation()
If you want to activate the channel at a later time, you can choose to defer activation.
|
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 |
idempotencyToken()
A token ensuring that the operation is called only once with the specified details.
|
String |
name()
The name of the contact channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateContactChannelRequest.Builder> |
serializableBuilderClass() |
CreateContactChannelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelType |
type()
Incident Manager supports three types of contact channels:
|
String |
typeAsString()
Incident Manager supports three types of contact channels:
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactId()
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
public final String name()
The name of the contact channel.
public final ChannelType type()
Incident Manager supports three types of contact channels:
SMS
VOICE
EMAIL
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
EMAIL
ChannelTypepublic final String typeAsString()
Incident Manager supports three types of contact channels:
SMS
VOICE
EMAIL
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
EMAIL
ChannelTypepublic final ContactChannelAddress deliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:
SMS - '+' followed by the country code and phone number
VOICE - '+' followed by the country code and phone number
EMAIL - any standard email format
SMS - '+' followed by the country code and phone number
VOICE - '+' followed by the country code and phone number
EMAIL - any standard email format
public final Boolean deferActivation()
If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.
public final String idempotencyToken()
A token ensuring that the operation is called only once with the specified details.
public CreateContactChannelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateContactChannelRequest.Builder,CreateContactChannelRequest>toBuilder in class SsmContactsRequestpublic static CreateContactChannelRequest.Builder builder()
public static Class<? extends CreateContactChannelRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.