@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactData extends Object implements Serializable, Cloneable, StructuredPojo
Information related to a contact.
Constructor and Description |
---|
ContactData() |
Modifier and Type | Method and Description |
---|---|
ContactData |
clone() |
boolean |
equals(Object obj) |
String |
getContactArn()
The ARN of the contact.
|
String |
getDisplayName()
The name of the contact to display on the console.
|
String |
getFirstName()
The first name of the contact, used to call the contact on the device.
|
String |
getLastName()
The last name of the contact, used to call the contact on the device.
|
String |
getPhoneNumber()
The phone number of the contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContactArn(String contactArn)
The ARN of the contact.
|
void |
setDisplayName(String displayName)
The name of the contact to display on the console.
|
void |
setFirstName(String firstName)
The first name of the contact, used to call the contact on the device.
|
void |
setLastName(String lastName)
The last name of the contact, used to call the contact on the device.
|
void |
setPhoneNumber(String phoneNumber)
The phone number of the contact.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ContactData |
withContactArn(String contactArn)
The ARN of the contact.
|
ContactData |
withDisplayName(String displayName)
The name of the contact to display on the console.
|
ContactData |
withFirstName(String firstName)
The first name of the contact, used to call the contact on the device.
|
ContactData |
withLastName(String lastName)
The last name of the contact, used to call the contact on the device.
|
ContactData |
withPhoneNumber(String phoneNumber)
The phone number of the contact.
|
public void setContactArn(String contactArn)
The ARN of the contact.
contactArn
- The ARN of the contact.public String getContactArn()
The ARN of the contact.
public ContactData withContactArn(String contactArn)
The ARN of the contact.
contactArn
- The ARN of the contact.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 ContactData 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, used to call the contact on the device.
firstName
- The first name of the contact, used to call the contact on the device.public String getFirstName()
The first name of the contact, used to call the contact on the device.
public ContactData withFirstName(String firstName)
The first name of the contact, used to call the contact on the device.
firstName
- The first name of the contact, used to call the contact on the device.public void setLastName(String lastName)
The last name of the contact, used to call the contact on the device.
lastName
- The last name of the contact, used to call the contact on the device.public String getLastName()
The last name of the contact, used to call the contact on the device.
public ContactData withLastName(String lastName)
The last name of the contact, used to call the contact on the device.
lastName
- The last name of the contact, used to call the contact on the device.public void setPhoneNumber(String phoneNumber)
The phone number of the contact.
phoneNumber
- The phone number of the contact.public String getPhoneNumber()
The phone number of the contact.
public ContactData withPhoneNumber(String phoneNumber)
The phone number of the contact.
phoneNumber
- The phone number of the contact.public String toString()
toString
in class Object
Object.toString()
public ContactData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.