@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutVoiceConnectorProxyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutVoiceConnectorProxyRequest() |
Modifier and Type | Method and Description |
---|---|
PutVoiceConnectorProxyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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> |
getPhoneNumberPoolCountries()
The countries for proxy phone numbers to be selected from.
|
String |
getVoiceConnectorId()
The Amazon Chime voice connector ID.
|
int |
hashCode() |
Boolean |
isDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
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 |
setPhoneNumberPoolCountries(Collection<String> phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
|
void |
setVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
|
String |
toString()
Returns a string representation of this object.
|
PutVoiceConnectorProxyRequest |
withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
|
PutVoiceConnectorProxyRequest |
withDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
|
PutVoiceConnectorProxyRequest |
withFallBackPhoneNumber(String fallBackPhoneNumber)
The phone number to route calls to after a proxy session expires.
|
PutVoiceConnectorProxyRequest |
withPhoneNumberPoolCountries(Collection<String> phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
|
PutVoiceConnectorProxyRequest |
withPhoneNumberPoolCountries(String... phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
|
PutVoiceConnectorProxyRequest |
withVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
voiceConnectorId
- The Amazon Chime voice connector ID.public String getVoiceConnectorId()
The Amazon Chime voice connector ID.
public PutVoiceConnectorProxyRequest withVoiceConnectorId(String voiceConnectorId)
The Amazon Chime voice connector ID.
voiceConnectorId
- The Amazon Chime voice connector ID.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 PutVoiceConnectorProxyRequest withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy sessions.
defaultSessionExpiryMinutes
- The default number of minutes allowed for proxy sessions.public List<String> getPhoneNumberPoolCountries()
The countries for proxy phone numbers to be selected from.
public void setPhoneNumberPoolCountries(Collection<String> phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
phoneNumberPoolCountries
- The countries for proxy phone numbers to be selected from.public PutVoiceConnectorProxyRequest withPhoneNumberPoolCountries(String... phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberPoolCountries(java.util.Collection)
or
withPhoneNumberPoolCountries(java.util.Collection)
if you want to override the existing values.
phoneNumberPoolCountries
- The countries for proxy phone numbers to be selected from.public PutVoiceConnectorProxyRequest withPhoneNumberPoolCountries(Collection<String> phoneNumberPoolCountries)
The countries for proxy phone numbers to be selected from.
phoneNumberPoolCountries
- The countries for proxy phone numbers to be selected from.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 PutVoiceConnectorProxyRequest 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 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 PutVoiceConnectorProxyRequest 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 String toString()
toString
in class Object
Object.toString()
public PutVoiceConnectorProxyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()