@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatePhoneNumbersWithVoiceConnectorGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest() |
Modifier and Type | Method and Description |
---|---|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest |
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 Group and removes
any previously existing associations.
|
String |
getVoiceConnectorGroupId()
The Amazon Chime Voice Connector group ID.
|
int |
hashCode() |
Boolean |
isForceAssociate()
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group 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 Group and removes
any previously existing associations.
|
void |
setVoiceConnectorGroupId(String voiceConnectorGroupId)
The Amazon Chime Voice Connector group ID.
|
String |
toString()
Returns a string representation of this object.
|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest |
withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest |
withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest |
withForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes
any previously existing associations.
|
AssociatePhoneNumbersWithVoiceConnectorGroupRequest |
withVoiceConnectorGroupId(String voiceConnectorGroupId)
The Amazon Chime Voice Connector group 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 AssociatePhoneNumbersWithVoiceConnectorGroupRequest()
public void setVoiceConnectorGroupId(String voiceConnectorGroupId)
The Amazon Chime Voice Connector group ID.
voiceConnectorGroupId
- The Amazon Chime Voice Connector group ID.public String getVoiceConnectorGroupId()
The Amazon Chime Voice Connector group ID.
public AssociatePhoneNumbersWithVoiceConnectorGroupRequest withVoiceConnectorGroupId(String voiceConnectorGroupId)
The Amazon Chime Voice Connector group ID.
voiceConnectorGroupId
- The Amazon Chime Voice Connector group 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 AssociatePhoneNumbersWithVoiceConnectorGroupRequest 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 AssociatePhoneNumbersWithVoiceConnectorGroupRequest 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 Group 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 Group 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 Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
public AssociatePhoneNumbersWithVoiceConnectorGroupRequest withForceAssociate(Boolean forceAssociate)
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group 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 Group 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 Group 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 AssociatePhoneNumbersWithVoiceConnectorGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()