Class CompanyInfo

java.lang.Object
com.azure.resourcemanager.elastic.models.CompanyInfo

public final class CompanyInfo extends Object
Company information of the user to be passed to partners.
  • Constructor Details

    • CompanyInfo

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

    • domain

      public String domain()
      Get the domain property: Domain of the company.
      Returns:
      the domain value.
    • withDomain

      public CompanyInfo withDomain(String domain)
      Set the domain property: Domain of the company.
      Parameters:
      domain - the domain value to set.
      Returns:
      the CompanyInfo object itself.
    • business

      public String business()
      Get the business property: Business of the company.
      Returns:
      the business value.
    • withBusiness

      public CompanyInfo withBusiness(String business)
      Set the business property: Business of the company.
      Parameters:
      business - the business value to set.
      Returns:
      the CompanyInfo object itself.
    • employeesNumber

      public String employeesNumber()
      Get the employeesNumber property: Number of employees in the company.
      Returns:
      the employeesNumber value.
    • withEmployeesNumber

      public CompanyInfo withEmployeesNumber(String employeesNumber)
      Set the employeesNumber property: Number of employees in the company.
      Parameters:
      employeesNumber - the employeesNumber value to set.
      Returns:
      the CompanyInfo object itself.
    • state

      public String state()
      Get the state property: State of the company location.
      Returns:
      the state value.
    • withState

      public CompanyInfo withState(String state)
      Set the state property: State of the company location.
      Parameters:
      state - the state value to set.
      Returns:
      the CompanyInfo object itself.
    • country

      public String country()
      Get the country property: Country of the company location.
      Returns:
      the country value.
    • withCountry

      public CompanyInfo withCountry(String country)
      Set the country property: Country of the company location.
      Parameters:
      country - the country value to set.
      Returns:
      the CompanyInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.