Class CompanyInfo
java.lang.Object
com.azure.resourcemanager.elastic.models.CompanyInfo
Company information of the user to be passed to partners.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbusiness()
Get the business property: Business of the company.country()
Get the country property: Country of the company location.domain()
Get the domain property: Domain of the company.Get the employeesNumber property: Number of employees in the company.state()
Get the state property: State of the company location.void
validate()
Validates the instance.withBusiness
(String business) Set the business property: Business of the company.withCountry
(String country) Set the country property: Country of the company location.withDomain
(String domain) Set the domain property: Domain of the company.withEmployeesNumber
(String employeesNumber) Set the employeesNumber property: Number of employees in the company.Set the state property: State of the company location.
-
Constructor Details
-
CompanyInfo
public CompanyInfo()Creates an instance of CompanyInfo class.
-
-
Method Details
-
domain
Get the domain property: Domain of the company.- Returns:
- the domain value.
-
withDomain
Set the domain property: Domain of the company.- Parameters:
domain
- the domain value to set.- Returns:
- the CompanyInfo object itself.
-
business
Get the business property: Business of the company.- Returns:
- the business value.
-
withBusiness
Set the business property: Business of the company.- Parameters:
business
- the business value to set.- Returns:
- the CompanyInfo object itself.
-
employeesNumber
Get the employeesNumber property: Number of employees in the company.- Returns:
- the employeesNumber value.
-
withEmployeesNumber
Set the employeesNumber property: Number of employees in the company.- Parameters:
employeesNumber
- the employeesNumber value to set.- Returns:
- the CompanyInfo object itself.
-
state
Get the state property: State of the company location.- Returns:
- the state value.
-
withState
Set the state property: State of the company location.- Parameters:
state
- the state value to set.- Returns:
- the CompanyInfo object itself.
-
country
Get the country property: Country of the company location.- Returns:
- the country value.
-
withCountry
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.
-