EnrollmentAccount Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. models. EnrollmentAccount
- com.
- com.
public final class EnrollmentAccount
extends ProxyResource
An enrollment account.
Constructor Summary
Constructor | Description |
---|---|
EnrollmentAccount() |
Creates an instance of Enrollment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get the account |
String |
accountOwner()
Get the account |
String |
accountOwnerEmail()
Get the account |
String |
costCenter()
Get the cost |
Department |
department()
Get the department property: Associated department. |
Offset |
endDate()
Get the end |
Offset |
startDate()
Get the start |
String |
status()
Get the status property: The status of the enrollment account. |
void |
validate()
Validates the instance. |
Enrollment |
withAccountName(String accountName)
Set the account |
Enrollment |
withAccountOwner(String accountOwner)
Set the account |
Enrollment |
withAccountOwnerEmail(String accountOwnerEmail)
Set the account |
Enrollment |
withCostCenter(String costCenter)
Set the cost |
Enrollment |
withDepartment(Department department)
Set the department property: Associated department. |
Enrollment |
withEndDate(OffsetDateTime endDate)
Set the end |
Enrollment |
withStartDate(OffsetDateTime startDate)
Set the start |
Enrollment |
withStatus(String status)
Set the status property: The status of the enrollment account. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
EnrollmentAccount
public EnrollmentAccount()
Creates an instance of EnrollmentAccount class.
Method Details
accountName
public String accountName()
Get the accountName property: The name of the enrollment account.
Returns:
accountOwner
public String accountOwner()
Get the accountOwner property: The owner of the enrollment account.
Returns:
accountOwnerEmail
public String accountOwnerEmail()
Get the accountOwnerEmail property: The enrollment account owner email address.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center associated with the enrollment account.
Returns:
department
public Department department()
Get the department property: Associated department. By default this is not populated, unless it's specified in $expand.
Returns:
endDate
public OffsetDateTime endDate()
Get the endDate property: The end date of the enrollment account.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: The start date of the enrollment account.
Returns:
status
public String status()
Get the status property: The status of the enrollment account.
Returns:
validate
public void validate()
Validates the instance.
withAccountName
public EnrollmentAccount withAccountName(String accountName)
Set the accountName property: The name of the enrollment account.
Parameters:
Returns:
withAccountOwner
public EnrollmentAccount withAccountOwner(String accountOwner)
Set the accountOwner property: The owner of the enrollment account.
Parameters:
Returns:
withAccountOwnerEmail
public EnrollmentAccount withAccountOwnerEmail(String accountOwnerEmail)
Set the accountOwnerEmail property: The enrollment account owner email address.
Parameters:
Returns:
withCostCenter
public EnrollmentAccount withCostCenter(String costCenter)
Set the costCenter property: The cost center associated with the enrollment account.
Parameters:
Returns:
withDepartment
public EnrollmentAccount withDepartment(Department department)
Set the department property: Associated department. By default this is not populated, unless it's specified in $expand.
Parameters:
Returns:
withEndDate
public EnrollmentAccount withEndDate(OffsetDateTime endDate)
Set the endDate property: The end date of the enrollment account.
Parameters:
Returns:
withStartDate
public EnrollmentAccount withStartDate(OffsetDateTime startDate)
Set the startDate property: The start date of the enrollment account.
Parameters:
Returns:
withStatus
public EnrollmentAccount withStatus(String status)
Set the status property: The status of the enrollment account.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for