@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Contact extends Object implements Serializable, Cloneable, StructuredPojo
A contact with attributes.
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
Contact |
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.
|
Contact |
withContactArn(String contactArn)
The ARN of the contact.
|
Contact |
withDisplayName(String displayName)
The name of the contact to display on the console.
|
Contact |
withFirstName(String firstName)
The first name of the contact, used to call the contact on the device.
|
Contact |
withLastName(String lastName)
The last name of the contact, used to call the contact on the device.
|
Contact |
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 Contact 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 Contact 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 Contact 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 Contact 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 Contact 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 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.