@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DNISEmergencyCallingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.
Constructor and Description |
---|
DNISEmergencyCallingConfiguration() |
Modifier and Type | Method and Description |
---|---|
DNISEmergencyCallingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCallingCountry()
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
|
String |
getEmergencyPhoneNumber()
The DNIS phone number to route emergency calls to, in E.164 format.
|
String |
getTestPhoneNumber()
The DNIS phone number to route test emergency calls to, in E.164 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCallingCountry(String callingCountry)
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
|
void |
setEmergencyPhoneNumber(String emergencyPhoneNumber)
The DNIS phone number to route emergency calls to, in E.164 format.
|
void |
setTestPhoneNumber(String testPhoneNumber)
The DNIS phone number to route test emergency calls to, in E.164 format.
|
String |
toString()
Returns a string representation of this object.
|
DNISEmergencyCallingConfiguration |
withCallingCountry(String callingCountry)
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
|
DNISEmergencyCallingConfiguration |
withEmergencyPhoneNumber(String emergencyPhoneNumber)
The DNIS phone number to route emergency calls to, in E.164 format.
|
DNISEmergencyCallingConfiguration |
withTestPhoneNumber(String testPhoneNumber)
The DNIS phone number to route test emergency calls to, in E.164 format.
|
public void setEmergencyPhoneNumber(String emergencyPhoneNumber)
The DNIS phone number to route emergency calls to, in E.164 format.
emergencyPhoneNumber
- The DNIS phone number to route emergency calls to, in E.164 format.public String getEmergencyPhoneNumber()
The DNIS phone number to route emergency calls to, in E.164 format.
public DNISEmergencyCallingConfiguration withEmergencyPhoneNumber(String emergencyPhoneNumber)
The DNIS phone number to route emergency calls to, in E.164 format.
emergencyPhoneNumber
- The DNIS phone number to route emergency calls to, in E.164 format.public void setTestPhoneNumber(String testPhoneNumber)
The DNIS phone number to route test emergency calls to, in E.164 format.
testPhoneNumber
- The DNIS phone number to route test emergency calls to, in E.164 format.public String getTestPhoneNumber()
The DNIS phone number to route test emergency calls to, in E.164 format.
public DNISEmergencyCallingConfiguration withTestPhoneNumber(String testPhoneNumber)
The DNIS phone number to route test emergency calls to, in E.164 format.
testPhoneNumber
- The DNIS phone number to route test emergency calls to, in E.164 format.public void setCallingCountry(String callingCountry)
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
callingCountry
- The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.public String getCallingCountry()
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
public DNISEmergencyCallingConfiguration withCallingCountry(String callingCountry)
The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.
callingCountry
- The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.public String toString()
toString
in class Object
Object.toString()
public DNISEmergencyCallingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.