@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.
|
List<PhoneNumber> |
getPhoneNumbers()
The list of phone numbers for the contact.
|
List<SipAddress> |
getSipAddresses()
The list of SIP addresses for 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.
|
void |
setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
|
void |
setSipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for 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.
|
UpdateContactRequest |
withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
|
UpdateContactRequest |
withPhoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
|
UpdateContactRequest |
withSipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
|
UpdateContactRequest |
withSipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for 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. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
phoneNumber
- The updated phone number of the contact. The phone number type defaults to WORK. You can either specify
PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone
number type and multiple numbers.public String getPhoneNumber()
The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
public UpdateContactRequest withPhoneNumber(String phoneNumber)
The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
phoneNumber
- The updated phone number of the contact. The phone number type defaults to WORK. You can either specify
PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone
number type and multiple numbers.public List<PhoneNumber> getPhoneNumbers()
The list of phone numbers for the contact.
public void setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers
- The list of phone numbers for the contact.public UpdateContactRequest withPhoneNumbers(PhoneNumber... phoneNumbers)
The list of phone numbers for the contact.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumbers(java.util.Collection)
or withPhoneNumbers(java.util.Collection)
if you want to
override the existing values.
phoneNumbers
- The list of phone numbers for the contact.public UpdateContactRequest withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
The list of phone numbers for the contact.
phoneNumbers
- The list of phone numbers for the contact.public List<SipAddress> getSipAddresses()
The list of SIP addresses for the contact.
public void setSipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
sipAddresses
- The list of SIP addresses for the contact.public UpdateContactRequest withSipAddresses(SipAddress... sipAddresses)
The list of SIP addresses for the contact.
NOTE: This method appends the values to the existing list (if any). Use
setSipAddresses(java.util.Collection)
or withSipAddresses(java.util.Collection)
if you want to
override the existing values.
sipAddresses
- The list of SIP addresses for the contact.public UpdateContactRequest withSipAddresses(Collection<SipAddress> sipAddresses)
The list of SIP addresses for the contact.
sipAddresses
- The list of SIP addresses for 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.