@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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Contact.Builder,Contact>
public static Contact.Builder builder()
public static Class<? extends Contact.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.