@Generated(value="software.amazon.awssdk:codegen") public final class Contact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Contact.Builder,Contact>
A contact with attributes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Contact.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Contact.Builder |
builder() |
String |
contactArn()
The ARN of the contact.
|
String |
displayName()
The name of the contact to display on the console.
|
boolean |
equals(Object obj) |
String |
firstName()
The first name of the contact, used to call the contact on the device.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastName()
The last name of the contact, used to call the contact on the device.
|
String |
phoneNumber()
The phone number of the contact.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Contact.Builder> |
serializableBuilderClass() |
Contact.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String contactArn()
The ARN of the contact.
public String displayName()
The name of the contact to display on the console.
public String firstName()
The first name of the contact, used to call the contact on the device.
public String lastName()
The last name of the contact, used to call the contact on the device.
public String phoneNumber()
The phone number of the contact.
public Contact.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Contact.Builder,Contact>public static Contact.Builder builder()
public static Class<? extends Contact.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.