@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Proxy extends Object implements Serializable, Cloneable, StructuredPojo
The proxy configuration for an Amazon Chime Voice Connector.
Constructor and Description |
---|
Proxy() |
Modifier and Type | Method and Description |
---|---|
Proxy |
clone() |
boolean |
equals(Object obj) |
Integer |
getDefaultSessionExpiryMinutes()
The default number of minutes allowed for proxy sessions.
|
Boolean |
getDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
String |
getFallBackPhoneNumber()
The phone number to route calls to after a proxy session expires.
|
List<String> |
getPhoneNumberCountries()
The countries for proxy phone numbers to be selected from.
|
int |
hashCode() |
Boolean |
isDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
|
void |
setDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
void |
setFallBackPhoneNumber(String fallBackPhoneNumber)
The phone number to route calls to after a proxy session expires.
|
void |
setPhoneNumberCountries(Collection<String> phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
|
String |
toString()
Returns a string representation of this object.
|
Proxy |
withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
|
Proxy |
withDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
Proxy |
withFallBackPhoneNumber(String fallBackPhoneNumber)
The phone number to route calls to after a proxy session expires.
|
Proxy |
withPhoneNumberCountries(Collection<String> phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
|
Proxy |
withPhoneNumberCountries(String... phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
|
public void setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
defaultSessionExpiryMinutes
- The default number of minutes allowed for proxy sessions.public Integer getDefaultSessionExpiryMinutes()
The default number of minutes allowed for proxy sessions.
public Proxy withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
defaultSessionExpiryMinutes
- The default number of minutes allowed for proxy sessions.public void setDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
disabled
- When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.public Boolean getDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
public Proxy withDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
disabled
- When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.public Boolean isDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
public void setFallBackPhoneNumber(String fallBackPhoneNumber)
The phone number to route calls to after a proxy session expires.
fallBackPhoneNumber
- The phone number to route calls to after a proxy session expires.public String getFallBackPhoneNumber()
The phone number to route calls to after a proxy session expires.
public Proxy withFallBackPhoneNumber(String fallBackPhoneNumber)
The phone number to route calls to after a proxy session expires.
fallBackPhoneNumber
- The phone number to route calls to after a proxy session expires.public List<String> getPhoneNumberCountries()
The countries for proxy phone numbers to be selected from.
public void setPhoneNumberCountries(Collection<String> phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
phoneNumberCountries
- The countries for proxy phone numbers to be selected from.public Proxy withPhoneNumberCountries(String... phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberCountries(java.util.Collection)
or withPhoneNumberCountries(java.util.Collection)
if you want to override the existing values.
phoneNumberCountries
- The countries for proxy phone numbers to be selected from.public Proxy withPhoneNumberCountries(Collection<String> phoneNumberCountries)
The countries for proxy phone numbers to be selected from.
phoneNumberCountries
- The countries for proxy phone numbers to be selected from.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.