EnrollmentAccountProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. EnrollmentAccountProperties
- com.
Implements
public final class EnrollmentAccountProperties
implements JsonSerializable<EnrollmentAccountProperties>
It is an organizational hierarchy within a billing account to administer and manage azure costs.
Constructor Summary
| Constructor | Description |
|---|---|
| EnrollmentAccountProperties() |
Creates an instance of Enrollment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountOwner()
Get the account |
| String |
authType()
Get the auth |
| String |
costCenter()
Get the cost |
| String |
departmentDisplayName()
Get the department |
| String |
departmentId()
Get the department |
| String |
displayName()
Get the display |
|
Offset |
endDate()
Get the end |
|
static
Enrollment |
fromJson(JsonReader jsonReader)
Reads an instance of Enrollment |
| Boolean |
isDevTestEnabled()
Get the is |
|
Offset |
startDate()
Get the start |
| String |
status()
Get the status property: The status of the enrollment account. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Enrollment |
withCostCenter(String costCenter)
Set the cost |
|
Enrollment |
withDisplayName(String displayName)
Set the display |
|
Enrollment |
withIsDevTestEnabled(Boolean isDevTestEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
EnrollmentAccountProperties
public EnrollmentAccountProperties()
Creates an instance of EnrollmentAccountProperties class.
Method Details
accountOwner
public String accountOwner()
Get the accountOwner property: The owner of the enrollment account.
Returns:
authType
public String authType()
Get the authType property: The authorization type of the enrollment account.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center associated with the enrollment account.
Returns:
departmentDisplayName
public String departmentDisplayName()
Get the departmentDisplayName property: The name of the department under which the enrollment account exists.
Returns:
departmentId
public String departmentId()
Get the departmentId property: The ID that uniquely identifies the department.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the enrollment account.
Returns:
endDate
public OffsetDateTime endDate()
Get the endDate property: The date of expiration of the enrollment account.
Returns:
fromJson
public static EnrollmentAccountProperties fromJson(JsonReader jsonReader)
Reads an instance of EnrollmentAccountProperties from the JsonReader.
Parameters:
Returns:
Throws:
isDevTestEnabled
public Boolean isDevTestEnabled()
Get the isDevTestEnabled property: Boolean flag which enables subscribers to run development and testing workloads on Azure at special Dev/Test rates.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: The date from which the enrollment account became valid and functional.
Returns:
status
public String status()
Get the status property: The status of the enrollment account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCostCenter
public EnrollmentAccountProperties withCostCenter(String costCenter)
Set the costCenter property: The cost center associated with the enrollment account.
Parameters:
Returns:
withDisplayName
public EnrollmentAccountProperties withDisplayName(String displayName)
Set the displayName property: The name of the enrollment account.
Parameters:
Returns:
withIsDevTestEnabled
public EnrollmentAccountProperties withIsDevTestEnabled(Boolean isDevTestEnabled)
Set the isDevTestEnabled property: Boolean flag which enables subscribers to run development and testing workloads on Azure at special Dev/Test rates.
Parameters:
Returns: