@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPhoneNumbersV2Request extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPhoneNumbersV2Request() |
Modifier and Type | Method and Description |
---|---|
ListPhoneNumbersV2Request |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getPhoneNumberCountryCodes()
The ISO country code.
|
String |
getPhoneNumberPrefix()
The prefix of the phone number.
|
List<String> |
getPhoneNumberTypes()
The type of phone number.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
int |
hashCode() |
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 |
setPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
|
void |
setPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number.
|
void |
setPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
String |
toString()
Returns a string representation of this object.
|
ListPhoneNumbersV2Request |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPhoneNumbersV2Request |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPhoneNumbersV2Request |
withPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersV2Request |
withPhoneNumberCountryCodes(PhoneNumberCountryCode... phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersV2Request |
withPhoneNumberCountryCodes(String... phoneNumberCountryCodes)
The ISO country code.
|
ListPhoneNumbersV2Request |
withPhoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number.
|
ListPhoneNumbersV2Request |
withPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersV2Request |
withPhoneNumberTypes(PhoneNumberType... phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersV2Request |
withPhoneNumberTypes(String... phoneNumberTypes)
The type of phone number.
|
ListPhoneNumbersV2Request |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
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 that phone numbers are claimed to. If
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances
belonging to your account.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect
instances belonging to your account.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances
belonging to your account.
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect
instances belonging to your account.public ListPhoneNumbersV2Request withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances
belonging to your account.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If
TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect
instances belonging to your account.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 ListPhoneNumbersV2Request 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 ListPhoneNumbersV2Request 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 List<String> getPhoneNumberCountryCodes()
The ISO country code.
PhoneNumberCountryCode
public void setPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersV2Request withPhoneNumberCountryCodes(String... phoneNumberCountryCodes)
The ISO country code.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberCountryCodes(java.util.Collection)
or
withPhoneNumberCountryCodes(java.util.Collection)
if you want to override the existing values.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersV2Request withPhoneNumberCountryCodes(Collection<String> phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersV2Request withPhoneNumberCountryCodes(PhoneNumberCountryCode... phoneNumberCountryCodes)
The ISO country code.
phoneNumberCountryCodes
- The ISO country code.PhoneNumberCountryCode
public List<String> getPhoneNumberTypes()
The type of phone number.
PhoneNumberType
public void setPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersV2Request withPhoneNumberTypes(String... phoneNumberTypes)
The type of phone number.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumberTypes(java.util.Collection)
or withPhoneNumberTypes(java.util.Collection)
if you
want to override the existing values.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersV2Request withPhoneNumberTypes(Collection<String> phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- The type of phone number.PhoneNumberType
public ListPhoneNumbersV2Request withPhoneNumberTypes(PhoneNumberType... phoneNumberTypes)
The type of phone number.
phoneNumberTypes
- 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 ListPhoneNumbersV2Request 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 String toString()
toString
in class Object
Object.toString()
public ListPhoneNumbersV2Request clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()