Class ContactDetails
java.lang.Object
com.azure.resourcemanager.databoxedge.models.ContactDetails
Contains all the contact details of the customer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the companyName property: The name of the company.Get the contactPerson property: The contact person name.Get the emailList property: The email list.phone()
Get the phone property: The phone number.void
validate()
Validates the instance.withCompanyName
(String companyName) Set the companyName property: The name of the company.withContactPerson
(String contactPerson) Set the contactPerson property: The contact person name.withEmailList
(List<String> emailList) Set the emailList property: The email list.Set the phone property: The phone number.
-
Constructor Details
-
ContactDetails
public ContactDetails()Creates an instance of ContactDetails class.
-
-
Method Details
-
contactPerson
Get the contactPerson property: The contact person name.- Returns:
- the contactPerson value.
-
withContactPerson
Set the contactPerson property: The contact person name.- Parameters:
contactPerson
- the contactPerson value to set.- Returns:
- the ContactDetails object itself.
-
companyName
Get the companyName property: The name of the company.- Returns:
- the companyName value.
-
withCompanyName
Set the companyName property: The name of the company.- Parameters:
companyName
- the companyName value to set.- Returns:
- the ContactDetails object itself.
-
phone
Get the phone property: The phone number.- Returns:
- the phone value.
-
withPhone
Set the phone property: The phone number.- Parameters:
phone
- the phone value to set.- Returns:
- the ContactDetails object itself.
-
emailList
Get the emailList property: The email list.- Returns:
- the emailList value.
-
withEmailList
Set the emailList property: The email list.- Parameters:
emailList
- the emailList value to set.- Returns:
- the ContactDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-