ComputeInstanceLastOperation Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ComputeInstanceLastOperation
- com.
Implements
public final class ComputeInstanceLastOperation
implements JsonSerializable<ComputeInstanceLastOperation>
The last operation on ComputeInstance.
Constructor Summary
| Constructor | Description |
|---|---|
| ComputeInstanceLastOperation() |
Creates an instance of Compute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Compute |
fromJson(JsonReader jsonReader)
Reads an instance of Compute |
|
Operation |
operationName()
Get the operation |
|
Operation |
operationStatus()
Get the operation |
|
Offset |
operationTime()
Get the operation |
|
Operation |
operationTrigger()
Get the operation |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Compute |
withOperationName(OperationName operationName)
Set the operation |
|
Compute |
withOperationStatus(OperationStatus operationStatus)
Set the operation |
|
Compute |
withOperationTime(OffsetDateTime operationTime)
Set the operation |
|
Compute |
withOperationTrigger(OperationTrigger operationTrigger)
Set the operation |
Methods inherited from java.lang.Object
Constructor Details
ComputeInstanceLastOperation
public ComputeInstanceLastOperation()
Creates an instance of ComputeInstanceLastOperation class.
Method Details
fromJson
public static ComputeInstanceLastOperation fromJson(JsonReader jsonReader)
Reads an instance of ComputeInstanceLastOperation from the JsonReader.
Parameters:
Returns:
Throws:
operationName
public OperationName operationName()
Get the operationName property: Name of the last operation.
Returns:
operationStatus
public OperationStatus operationStatus()
Get the operationStatus property: Operation status.
Returns:
operationTime
public OffsetDateTime operationTime()
Get the operationTime property: Time of the last operation.
Returns:
operationTrigger
public OperationTrigger operationTrigger()
Get the operationTrigger property: Trigger of operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOperationName
public ComputeInstanceLastOperation withOperationName(OperationName operationName)
Set the operationName property: Name of the last operation.
Parameters:
Returns:
withOperationStatus
public ComputeInstanceLastOperation withOperationStatus(OperationStatus operationStatus)
Set the operationStatus property: Operation status.
Parameters:
Returns:
withOperationTime
public ComputeInstanceLastOperation withOperationTime(OffsetDateTime operationTime)
Set the operationTime property: Time of the last operation.
Parameters:
Returns:
withOperationTrigger
public ComputeInstanceLastOperation withOperationTrigger(OperationTrigger operationTrigger)
Set the operationTrigger property: Trigger of operation.
Parameters:
Returns: