Class EnrollmentAccountProperties
java.lang.Object
com.azure.resourcemanager.billing.fluent.models.EnrollmentAccountProperties
The properties of an enrollment account.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EnrollmentAccountProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: The name of the enrollment account.Get the accountOwner property: The owner of the enrollment account.Get the accountOwnerEmail property: The enrollment account owner email address.Get the costCenter property: The cost center associated with the enrollment account.Get the department property: Associated department.endDate()
Get the endDate property: The end date of the enrollment account.Get the startDate property: The start date of the enrollment account.status()
Get the status property: The status of the enrollment account.void
validate()
Validates the instance.withAccountName
(String accountName) Set the accountName property: The name of the enrollment account.withAccountOwner
(String accountOwner) Set the accountOwner property: The owner of the enrollment account.withAccountOwnerEmail
(String accountOwnerEmail) Set the accountOwnerEmail property: The enrollment account owner email address.withCostCenter
(String costCenter) Set the costCenter property: The cost center associated with the enrollment account.withDepartment
(Department department) Set the department property: Associated department.withEndDate
(OffsetDateTime endDate) Set the endDate property: The end date of the enrollment account.withStartDate
(OffsetDateTime startDate) Set the startDate property: The start date of the enrollment account.withStatus
(String status) Set the status property: The status of the enrollment account.
-
Constructor Details
-
EnrollmentAccountProperties
public EnrollmentAccountProperties()Creates an instance of EnrollmentAccountProperties class.
-
-
Method Details
-
accountName
Get the accountName property: The name of the enrollment account.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: The name of the enrollment account.- Parameters:
accountName
- the accountName value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
costCenter
Get the costCenter property: The cost center associated with the enrollment account.- Returns:
- the costCenter value.
-
withCostCenter
Set the costCenter property: The cost center associated with the enrollment account.- Parameters:
costCenter
- the costCenter value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
accountOwner
Get the accountOwner property: The owner of the enrollment account.- Returns:
- the accountOwner value.
-
withAccountOwner
Set the accountOwner property: The owner of the enrollment account.- Parameters:
accountOwner
- the accountOwner value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
accountOwnerEmail
Get the accountOwnerEmail property: The enrollment account owner email address.- Returns:
- the accountOwnerEmail value.
-
withAccountOwnerEmail
Set the accountOwnerEmail property: The enrollment account owner email address.- Parameters:
accountOwnerEmail
- the accountOwnerEmail value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
status
Get the status property: The status of the enrollment account.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the enrollment account.- Parameters:
status
- the status value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
startDate
Get the startDate property: The start date of the enrollment account.- Returns:
- the startDate value.
-
withStartDate
Set the startDate property: The start date of the enrollment account.- Parameters:
startDate
- the startDate value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
endDate
Get the endDate property: The end date of the enrollment account.- Returns:
- the endDate value.
-
withEndDate
Set the endDate property: The end date of the enrollment account.- Parameters:
endDate
- the endDate value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
department
Get the department property: Associated department. By default this is not populated, unless it's specified in $expand.- Returns:
- the department value.
-
withDepartment
Set the department property: Associated department. By default this is not populated, unless it's specified in $expand.- Parameters:
department
- the department value to set.- Returns:
- the EnrollmentAccountProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-