@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatePhoneNumbersWithVoiceConnectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociatePhoneNumbersWithVoiceConnectorRequest() |
Modifier and Type | Method and Description |
---|---|
AssociatePhoneNumbersWithVoiceConnectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getE164PhoneNumbers()
List of phone numbers, in E.164 format.
|
Boolean |
getForceAssociate()
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any
previously existing associations.
|
String |
getVoiceConnectorId()
The Amazon Chime Voice Connector ID.
|
int |
hashCode() |
Boolean |
isForceAssociate()
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any
previously existing associations.
|
void |
setE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
void |
setForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any
previously existing associations.
|
void |
setVoiceConnectorId(String voiceConnectorId)
The Amazon Chime Voice Connector ID.
|
String |
toString()
Returns a string representation of this object.
|
AssociatePhoneNumbersWithVoiceConnectorRequest |
withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
AssociatePhoneNumbersWithVoiceConnectorRequest |
withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
AssociatePhoneNumbersWithVoiceConnectorRequest |
withForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any
previously existing associations.
|
AssociatePhoneNumbersWithVoiceConnectorRequest |
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 AssociatePhoneNumbersWithVoiceConnectorRequest()
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 AssociatePhoneNumbersWithVoiceConnectorRequest withVoiceConnectorId(String voiceConnectorId)
The Amazon Chime Voice Connector ID.
voiceConnectorId
- The Amazon Chime Voice Connector ID.public List<String> getE164PhoneNumbers()
List of phone numbers, in E.164 format.
public void setE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public AssociatePhoneNumbersWithVoiceConnectorRequest withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
NOTE: This method appends the values to the existing list (if any). Use
setE164PhoneNumbers(java.util.Collection)
or withE164PhoneNumbers(java.util.Collection)
if you
want to override the existing values.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public AssociatePhoneNumbersWithVoiceConnectorRequest withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
e164PhoneNumbers
- List of phone numbers, in E.164 format.public void setForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
forceAssociate
- If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes
any previously existing associations. If false, does not associate any phone numbers that have previously
existing associations.public Boolean getForceAssociate()
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
public AssociatePhoneNumbersWithVoiceConnectorRequest withForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
forceAssociate
- If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes
any previously existing associations. If false, does not associate any phone numbers that have previously
existing associations.public Boolean isForceAssociate()
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
public String toString()
toString
in class Object
Object.toString()
public AssociatePhoneNumbersWithVoiceConnectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()