Class ContactChannelAddress
- java.lang.Object
-
- software.amazon.awssdk.services.ssmcontacts.model.ContactChannelAddress
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContactChannelAddress.Builder,ContactChannelAddress>
@Generated("software.amazon.awssdk:codegen") public final class ContactChannelAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContactChannelAddress.Builder,ContactChannelAddress>
The details that Incident Manager uses when trying to engage the contact channel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContactChannelAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactChannelAddress.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ContactChannelAddress.Builder>serializableBuilderClass()StringsimpleAddress()The format is dependent on the type of the contact channel.ContactChannelAddress.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
simpleAddress
public final String simpleAddress()
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
- Returns:
- 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
-
-
-
toBuilder
public ContactChannelAddress.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContactChannelAddress.Builder,ContactChannelAddress>
-
builder
public static ContactChannelAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContactChannelAddress.Builder> serializableBuilderClass()
-
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.
-
-