@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateContactRequest() |
Modifier and Type | Method and Description |
---|---|
CreateContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, user-specified identifier for this request that ensures idempotency.
|
String |
getDisplayName()
The name of the contact to display on the console.
|
String |
getFirstName()
The first name of the contact that is used to call the contact on the device.
|
String |
getLastName()
The last name of the contact that is used to call the contact on the device.
|
String |
getPhoneNumber()
The phone number of the contact in E.164 format.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
void |
setDisplayName(String displayName)
The name of the contact to display on the console.
|
void |
setFirstName(String firstName)
The first name of the contact that is used to call the contact on the device.
|
void |
setLastName(String lastName)
The last name of the contact that is used to call the contact on the device.
|
void |
setPhoneNumber(String phoneNumber)
The phone number of the contact in E.164 format.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateContactRequest |
withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
CreateContactRequest |
withDisplayName(String displayName)
The name of the contact to display on the console.
|
CreateContactRequest |
withFirstName(String firstName)
The first name of the contact that is used to call the contact on the device.
|
CreateContactRequest |
withLastName(String lastName)
The last name of the contact that is used to call the contact on the device.
|
CreateContactRequest |
withPhoneNumber(String phoneNumber)
The phone number of the contact in E.164 format.
|
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 setDisplayName(String displayName)
The name of the contact to display on the console.
displayName
- The name of the contact to display on the console.public String getDisplayName()
The name of the contact to display on the console.
public CreateContactRequest withDisplayName(String displayName)
The name of the contact to display on the console.
displayName
- The name of the contact to display on the console.public void setFirstName(String firstName)
The first name of the contact that is used to call the contact on the device.
firstName
- The first name of the contact that is used to call the contact on the device.public String getFirstName()
The first name of the contact that is used to call the contact on the device.
public CreateContactRequest withFirstName(String firstName)
The first name of the contact that is used to call the contact on the device.
firstName
- The first name of the contact that is used to call the contact on the device.public void setLastName(String lastName)
The last name of the contact that is used to call the contact on the device.
lastName
- The last name of the contact that is used to call the contact on the device.public String getLastName()
The last name of the contact that is used to call the contact on the device.
public CreateContactRequest withLastName(String lastName)
The last name of the contact that is used to call the contact on the device.
lastName
- The last name of the contact that is used to call the contact on the device.public void setPhoneNumber(String phoneNumber)
The phone number of the contact in E.164 format.
phoneNumber
- The phone number of the contact in E.164 format.public String getPhoneNumber()
The phone number of the contact in E.164 format.
public CreateContactRequest withPhoneNumber(String phoneNumber)
The phone number of the contact in E.164 format.
phoneNumber
- The phone number of the contact in E.164 format.public void setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.public String getClientRequestToken()
A unique, user-specified identifier for this request that ensures idempotency.
public CreateContactRequest withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.public String toString()
toString
in class Object
Object.toString()
public CreateContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.