Class GetContactChannelResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.GetContactChannelResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetContactChannelResponse extends SsmContactsResponse implements ToCopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetContactChannelResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationStatusactivationStatus()A Boolean value indicating if the contact channel has been activated or not.StringactivationStatusAsString()A Boolean value indicating if the contact channel has been activated or not.static GetContactChannelResponse.Builderbuilder()StringcontactArn()The ARN of the contact that the channel belongs to.StringcontactChannelArn()The ARN of the contact channel.ContactChannelAddressdeliveryAddress()The details that Incident Manager uses when trying to engage the contact channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the contact channelList<SdkField<?>>sdkFields()static Class<? extends GetContactChannelResponse.Builder>serializableBuilderClass()GetContactChannelResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.ChannelTypetype()The type of contact channel.StringtypeAsString()The type of contact channel.-
Methods inherited from class software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 ARN of the contact that the channel belongs to.
- Returns:
- The ARN of the contact that the channel belongs to.
-
contactChannelArn
public final String contactChannelArn()
The ARN of the contact channel.
- Returns:
- The ARN of the contact channel.
-
name
public final String name()
The name of the contact channel
- Returns:
- The name of the contact channel
-
type
public final ChannelType type()
The type of contact channel. The type is
SMS,VOICE, orEMAIL.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of contact channel. The type is
SMS,VOICE, orEMAIL. - See Also:
ChannelType
-
typeAsString
public final String typeAsString()
The type of contact channel. The type is
SMS,VOICE, orEMAIL.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of contact channel. The type is
SMS,VOICE, orEMAIL. - See Also:
ChannelType
-
deliveryAddress
public final ContactChannelAddress deliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
- Returns:
- The details that Incident Manager uses when trying to engage the contact channel.
-
activationStatus
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,
activationStatuswill returnActivationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactivationStatusAsString().- Returns:
- A Boolean value indicating if the contact channel has been activated or not.
- See Also:
ActivationStatus
-
activationStatusAsString
public 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,
activationStatuswill returnActivationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactivationStatusAsString().- Returns:
- A Boolean value indicating if the contact channel has been activated or not.
- See Also:
ActivationStatus
-
toBuilder
public GetContactChannelResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetContactChannelResponse.Builder,GetContactChannelResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetContactChannelResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetContactChannelResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-