Class EnrollmentAccountProperties

java.lang.Object
com.azure.resourcemanager.billing.fluent.models.EnrollmentAccountProperties

public final class EnrollmentAccountProperties extends Object
The properties of an enrollment account.
  • Constructor Details

    • EnrollmentAccountProperties

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

    • accountName

      public String accountName()
      Get the accountName property: The name of the enrollment account.
      Returns:
      the accountName value.
    • withAccountName

      public EnrollmentAccountProperties withAccountName(String accountName)
      Set the accountName property: The name of the enrollment account.
      Parameters:
      accountName - the accountName value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • costCenter

      public String costCenter()
      Get the costCenter property: The cost center associated with the enrollment account.
      Returns:
      the costCenter value.
    • withCostCenter

      public EnrollmentAccountProperties withCostCenter(String costCenter)
      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

      public String accountOwner()
      Get the accountOwner property: The owner of the enrollment account.
      Returns:
      the accountOwner value.
    • withAccountOwner

      public EnrollmentAccountProperties withAccountOwner(String accountOwner)
      Set the accountOwner property: The owner of the enrollment account.
      Parameters:
      accountOwner - the accountOwner value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • accountOwnerEmail

      public String accountOwnerEmail()
      Get the accountOwnerEmail property: The enrollment account owner email address.
      Returns:
      the accountOwnerEmail value.
    • withAccountOwnerEmail

      public EnrollmentAccountProperties withAccountOwnerEmail(String accountOwnerEmail)
      Set the accountOwnerEmail property: The enrollment account owner email address.
      Parameters:
      accountOwnerEmail - the accountOwnerEmail value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • status

      public String status()
      Get the status property: The status of the enrollment account.
      Returns:
      the status value.
    • withStatus

      public EnrollmentAccountProperties withStatus(String status)
      Set the status property: The status of the enrollment account.
      Parameters:
      status - the status value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • startDate

      public OffsetDateTime startDate()
      Get the startDate property: The start date of the enrollment account.
      Returns:
      the startDate value.
    • withStartDate

      public EnrollmentAccountProperties withStartDate(OffsetDateTime startDate)
      Set the startDate property: The start date of the enrollment account.
      Parameters:
      startDate - the startDate value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • endDate

      public OffsetDateTime endDate()
      Get the endDate property: The end date of the enrollment account.
      Returns:
      the endDate value.
    • withEndDate

      public EnrollmentAccountProperties withEndDate(OffsetDateTime endDate)
      Set the endDate property: The end date of the enrollment account.
      Parameters:
      endDate - the endDate value to set.
      Returns:
      the EnrollmentAccountProperties object itself.
    • department

      public Department department()
      Get the department property: Associated department. By default this is not populated, unless it's specified in $expand.
      Returns:
      the department value.
    • withDepartment

      public EnrollmentAccountProperties withDepartment(Department department)
      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.