@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAvailablePhoneNumbersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchAvailablePhoneNumbersRequest() |
Modifier and Type | Method and Description |
---|---|
SearchAvailablePhoneNumbersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getPhoneNumberCountryCode()
The ISO country code.
|
String |
getPhoneNumberPrefix()
The prefix of the phone number.
|
String |
getPhoneNumberType()
The type of phone number.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number.
|
void |
setPhoneNumberType(String phoneNumberType)
The type of phone number.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through.
|
String |
toString()
Returns a string representation of this object.
|
SearchAvailablePhoneNumbersRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
SearchAvailablePhoneNumbersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
SearchAvailablePhoneNumbersRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
SearchAvailablePhoneNumbersRequest |
withPhoneNumberType(String phoneNumberType)
The type of phone number.
|
SearchAvailablePhoneNumbersRequest |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through.
|
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 setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
InstanceId
or
TargetArn
.public SearchAvailablePhoneNumbersRequest withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number
inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
instanceId
- The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or
TargetArn
.public String getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
InstanceId
or
TargetArn
.public SearchAvailablePhoneNumbersRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in
the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
instanceId
- The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or
TargetArn
.public void setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCode
public SearchAvailablePhoneNumbersRequest withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public SearchAvailablePhoneNumbersRequest withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public String getPhoneNumberType()
The type of phone number.
PhoneNumberType
public SearchAvailablePhoneNumbersRequest withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public SearchAvailablePhoneNumbersRequest withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public void setPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number. If provided, it must contain +
as part of the country code.
phoneNumberPrefix
- The prefix of the phone number. If provided, it must contain +
as part of the country code.public String getPhoneNumberPrefix()
The prefix of the phone number. If provided, it must contain +
as part of the country code.
+
as part of the country code.public SearchAvailablePhoneNumbersRequest withPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number. If provided, it must contain +
as part of the country code.
phoneNumberPrefix
- The prefix of the phone number. If provided, it must contain +
as part of the country code.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public SearchAvailablePhoneNumbersRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public SearchAvailablePhoneNumbersRequest withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public SearchAvailablePhoneNumbersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()