@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 session.
|
Boolean |
getDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime SDK 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 Voice Connector ID.
|
int |
hashCode() |
Boolean |
isDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
|
void |
setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy session.
|
void |
setDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime SDK 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 Voice Connector ID.
|
String |
toString()
Returns a string representation of this object.
|
PutVoiceConnectorProxyRequest |
withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy session.
|
PutVoiceConnectorProxyRequest |
withDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime SDK 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 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 Voice Connector ID.
voiceConnectorId
- The Voice Connector ID.public String getVoiceConnectorId()
The Voice Connector ID.
public PutVoiceConnectorProxyRequest withVoiceConnectorId(String voiceConnectorId)
The Voice Connector ID.
voiceConnectorId
- The Voice Connector ID.public void setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy session.
defaultSessionExpiryMinutes
- The default number of minutes allowed for proxy session.public Integer getDefaultSessionExpiryMinutes()
The default number of minutes allowed for proxy session.
public PutVoiceConnectorProxyRequest withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes)
The default number of minutes allowed for proxy session.
defaultSessionExpiryMinutes
- The default number of minutes allowed for proxy session.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 SDK Voice Connector.
disabled
- When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.public Boolean getDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
public PutVoiceConnectorProxyRequest withDisabled(Boolean disabled)
When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
disabled
- When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.public Boolean isDisabled()
When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
public String toString()
toString
in class Object
Object.toString()
public PutVoiceConnectorProxyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()