@Generated(value="software.amazon.awssdk:codegen") public final class GetContactChannelResponse extends SsmContactsResponse implements ToCopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetContactChannelResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
ActivationStatus |
activationStatus()
A Boolean value indicating if the contact channel has been activated or not.
|
String |
activationStatusAsString()
A Boolean value indicating if the contact channel has been activated or not.
|
static GetContactChannelResponse.Builder |
builder() |
String |
contactArn()
The ARN of the contact that the channel belongs to.
|
String |
contactChannelArn()
The 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 GetContactChannelResponse.Builder> |
serializableBuilderClass() |
GetContactChannelResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelType |
type()
The type of contact channel.
|
String |
typeAsString()
The type of contact channel.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactArn()
The ARN of the contact that the channel belongs to.
public final String contactChannelArn()
The ARN of the contact channel.
public final String name()
The name of the contact channel
public final ChannelType type()
The type of contact channel. The type is SMS, VOICE, or 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, or EMAIL.ChannelTypepublic final String typeAsString()
The type of contact channel. The type is SMS, VOICE, or 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, or EMAIL.ChannelTypepublic final ContactChannelAddress deliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
public final ActivationStatus activationStatus()
A Boolean value indicating if the contact channel has been activated or not.
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 indicating if the contact channel has been activated or not.
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 GetContactChannelResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>toBuilder in class AwsResponsepublic static GetContactChannelResponse.Builder builder()
public static Class<? extends GetContactChannelResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2022. All rights reserved.