@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateContactRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactArn()
The ARN of the contact to update.
|
String |
getDisplayName()
The updated display name of the contact.
|
String |
getFirstName()
The updated first name of the contact.
|
String |
getLastName()
The updated last name of the contact.
|
String |
getPhoneNumber()
The updated phone number of the contact.
|
int |
hashCode() |
void |
setContactArn(String contactArn)
The ARN of the contact to update.
|
void |
setDisplayName(String displayName)
The updated display name of the contact.
|
void |
setFirstName(String firstName)
The updated first name of the contact.
|
void |
setLastName(String lastName)
The updated last name of the contact.
|
void |
setPhoneNumber(String phoneNumber)
The updated phone number of the contact.
|
String |
toString()
Returns a string representation of this object.
|
UpdateContactRequest |
withContactArn(String contactArn)
The ARN of the contact to update.
|
UpdateContactRequest |
withDisplayName(String displayName)
The updated display name of the contact.
|
UpdateContactRequest |
withFirstName(String firstName)
The updated first name of the contact.
|
UpdateContactRequest |
withLastName(String lastName)
The updated last name of the contact.
|
UpdateContactRequest |
withPhoneNumber(String phoneNumber)
The updated phone number of the contact.
|
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 setContactArn(String contactArn)
The ARN of the contact to update.
contactArn
- The ARN of the contact to update.public String getContactArn()
The ARN of the contact to update.
public UpdateContactRequest withContactArn(String contactArn)
The ARN of the contact to update.
contactArn
- The ARN of the contact to update.public void setDisplayName(String displayName)
The updated display name of the contact.
displayName
- The updated display name of the contact.public String getDisplayName()
The updated display name of the contact.
public UpdateContactRequest withDisplayName(String displayName)
The updated display name of the contact.
displayName
- The updated display name of the contact.public void setFirstName(String firstName)
The updated first name of the contact.
firstName
- The updated first name of the contact.public String getFirstName()
The updated first name of the contact.
public UpdateContactRequest withFirstName(String firstName)
The updated first name of the contact.
firstName
- The updated first name of the contact.public void setLastName(String lastName)
The updated last name of the contact.
lastName
- The updated last name of the contact.public String getLastName()
The updated last name of the contact.
public UpdateContactRequest withLastName(String lastName)
The updated last name of the contact.
lastName
- The updated last name of the contact.public void setPhoneNumber(String phoneNumber)
The updated phone number of the contact.
phoneNumber
- The updated phone number of the contact.public String getPhoneNumber()
The updated phone number of the contact.
public UpdateContactRequest withPhoneNumber(String phoneNumber)
The updated phone number of the contact.
phoneNumber
- The updated phone number of the contact.public String toString()
toString
in class Object
Object.toString()
public UpdateContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.