public class Contact extends Object
| Constructor and Description |
|---|
Contact() |
| Modifier and Type | Method and Description |
|---|---|
String |
emailAddress()
Get the emailAddress value.
|
String |
name()
Get the name value.
|
String |
phone()
Get the phone value.
|
Contact |
withEmailAddress(String emailAddress)
Set the emailAddress value.
|
Contact |
withName(String name)
Set the name value.
|
Contact |
withPhone(String phone)
Set the phone value.
|
public String emailAddress()
public Contact withEmailAddress(String emailAddress)
emailAddress - the emailAddress value to setpublic String name()
public Contact withName(String name)
name - the name value to setpublic String phone()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/