@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePhoneNumberOrderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreatePhoneNumberOrderRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePhoneNumberOrderRequest |
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.
|
String |
getName()
Specifies the name assigned to one or more phone numbers.
|
String |
getProductType()
The phone number product type.
|
int |
hashCode() |
void |
setE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
void |
setName(String name)
Specifies the name assigned to one or more phone numbers.
|
void |
setProductType(String productType)
The phone number product type.
|
String |
toString()
Returns a string representation of this object.
|
CreatePhoneNumberOrderRequest |
withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
CreatePhoneNumberOrderRequest |
withE164PhoneNumbers(String... e164PhoneNumbers)
List of phone numbers, in E.164 format.
|
CreatePhoneNumberOrderRequest |
withName(String name)
Specifies the name assigned to one or more phone numbers.
|
CreatePhoneNumberOrderRequest |
withProductType(PhoneNumberProductType productType)
The phone number product type.
|
CreatePhoneNumberOrderRequest |
withProductType(String productType)
The phone number product type.
|
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, withSdkRequestTimeoutpublic void setProductType(String productType)
The phone number product type.
productType - The phone number product type.PhoneNumberProductTypepublic String getProductType()
The phone number product type.
PhoneNumberProductTypepublic CreatePhoneNumberOrderRequest withProductType(String productType)
The phone number product type.
productType - The phone number product type.PhoneNumberProductTypepublic CreatePhoneNumberOrderRequest withProductType(PhoneNumberProductType productType)
The phone number product type.
productType - The phone number product type.PhoneNumberProductTypepublic 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 CreatePhoneNumberOrderRequest 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 CreatePhoneNumberOrderRequest withE164PhoneNumbers(Collection<String> e164PhoneNumbers)
List of phone numbers, in E.164 format.
e164PhoneNumbers - List of phone numbers, in E.164 format.public void setName(String name)
Specifies the name assigned to one or more phone numbers.
name - Specifies the name assigned to one or more phone numbers.public String getName()
Specifies the name assigned to one or more phone numbers.
public CreatePhoneNumberOrderRequest withName(String name)
Specifies the name assigned to one or more phone numbers.
name - Specifies the name assigned to one or more phone numbers.public String toString()
toString in class ObjectObject.toString()public CreatePhoneNumberOrderRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()