@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactChannelAddress extends Object implements Serializable, Cloneable, StructuredPojo
The details that Incident Manager uses when trying to engage the contact channel.
Constructor and Description |
---|
ContactChannelAddress() |
Modifier and Type | Method and Description |
---|---|
ContactChannelAddress |
clone() |
boolean |
equals(Object obj) |
String |
getSimpleAddress()
The format is dependent on the type of the contact channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSimpleAddress(String simpleAddress)
The format is dependent on the type of the contact channel.
|
String |
toString()
Returns a string representation of this object.
|
ContactChannelAddress |
withSimpleAddress(String simpleAddress)
The format is dependent on the type of the contact channel.
|
public void setSimpleAddress(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
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
public String getSimpleAddress()
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 ContactChannelAddress withSimpleAddress(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
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
public String toString()
toString
in class Object
Object.toString()
public ContactChannelAddress clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.