Class ContactDetails

java.lang.Object
com.azure.resourcemanager.databoxedge.models.ContactDetails

public final class ContactDetails extends Object
Contains all the contact details of the customer.
  • Constructor Details

    • ContactDetails

      public ContactDetails()
      Creates an instance of ContactDetails class.
  • Method Details

    • contactPerson

      public String contactPerson()
      Get the contactPerson property: The contact person name.
      Returns:
      the contactPerson value.
    • withContactPerson

      public ContactDetails withContactPerson(String contactPerson)
      Set the contactPerson property: The contact person name.
      Parameters:
      contactPerson - the contactPerson value to set.
      Returns:
      the ContactDetails object itself.
    • companyName

      public String companyName()
      Get the companyName property: The name of the company.
      Returns:
      the companyName value.
    • withCompanyName

      public ContactDetails withCompanyName(String companyName)
      Set the companyName property: The name of the company.
      Parameters:
      companyName - the companyName value to set.
      Returns:
      the ContactDetails object itself.
    • phone

      public String phone()
      Get the phone property: The phone number.
      Returns:
      the phone value.
    • withPhone

      public ContactDetails withPhone(String phone)
      Set the phone property: The phone number.
      Parameters:
      phone - the phone value to set.
      Returns:
      the ContactDetails object itself.
    • emailList

      public List<String> emailList()
      Get the emailList property: The email list.
      Returns:
      the emailList value.
    • withEmailList

      public ContactDetails withEmailList(List<String> emailList)
      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.