Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batchai.implementation;
import org.joda.time.DateTime;
import com.microsoft.azure.management.batchai.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
import com.microsoft.azure.Resource;
Batch AI Workspace information.
/**
* Batch AI Workspace information.
*/
@JsonFlatten
@SkipParentValidation
public class WorkspaceInner extends Resource {
Creation time.
Time when the Workspace was created.
/**
* Creation time.
* Time when the Workspace was created.
*/
@JsonProperty(value = "properties.creationTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime creationTime;
Provisioning state.
The provisioned state of the Workspace. Possible values include:
'creating', 'succeeded', 'failed', 'deleting'.
/**
* Provisioning state.
* The provisioned state of the Workspace. Possible values include:
* 'creating', 'succeeded', 'failed', 'deleting'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
Provisioning state transition time.
The time at which the workspace entered its current provisioning state.
/**
* Provisioning state transition time.
* The time at which the workspace entered its current provisioning state.
*/
@JsonProperty(value = "properties.provisioningStateTransitionTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime provisioningStateTransitionTime;
Get time when the Workspace was created.
Returns: the creationTime value
/**
* Get time when the Workspace was created.
*
* @return the creationTime value
*/
public DateTime creationTime() {
return this.creationTime;
}
Get the provisioned state of the Workspace. Possible values include: 'creating', 'succeeded', 'failed', 'deleting'.
Returns: the provisioningState value
/**
* Get the provisioned state of the Workspace. Possible values include: 'creating', 'succeeded', 'failed', 'deleting'.
*
* @return the provisioningState value
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}
Get the time at which the workspace entered its current provisioning state.
Returns: the provisioningStateTransitionTime value
/**
* Get the time at which the workspace entered its current provisioning state.
*
* @return the provisioningStateTransitionTime value
*/
public DateTime provisioningStateTransitionTime() {
return this.provisioningStateTransitionTime;
}
}