Class OperationStatusInner
java.lang.Object
com.azure.resourcemanager.devcenter.models.OperationStatusResult
com.azure.resourcemanager.devcenter.fluent.models.OperationStatusInner
The current status of an async operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Custom operation properties, populated only for a successful operation.Get the resourceId property: The id of the resource.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: The end time of the operation.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: If present, details of the operation error.Set the id property: Fully qualified ID for the async operation.Set the name property: Name of the async operation.withOperations
(List<OperationStatusResult> operations) Set the operations property: The operations list.withPercentComplete
(Float percentComplete) Set the percentComplete property: Percent of the operation that is complete.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start time of the operation.withStatus
(String status) Set the status property: Operation status.Methods inherited from class com.azure.resourcemanager.devcenter.models.OperationStatusResult
endTime, error, id, name, operations, percentComplete, startTime, status
-
Constructor Details
-
OperationStatusInner
public OperationStatusInner()Creates an instance of OperationStatusInner class.
-
-
Method Details
-
resourceId
Get the resourceId property: The id of the resource.- Returns:
- the resourceId value.
-
properties
Get the properties property: Custom operation properties, populated only for a successful operation.- Returns:
- the properties value.
-
withId
Set the id property: Fully qualified ID for the async operation.- Overrides:
withId
in classOperationStatusResult
- Parameters:
id
- the id value to set.- Returns:
- the OperationStatusResult object itself.
-
withName
Set the name property: Name of the async operation.- Overrides:
withName
in classOperationStatusResult
- Parameters:
name
- the name value to set.- Returns:
- the OperationStatusResult object itself.
-
withStatus
Set the status property: Operation status.- Overrides:
withStatus
in classOperationStatusResult
- Parameters:
status
- the status value to set.- Returns:
- the OperationStatusResult object itself.
-
withPercentComplete
Set the percentComplete property: Percent of the operation that is complete.- Overrides:
withPercentComplete
in classOperationStatusResult
- Parameters:
percentComplete
- the percentComplete value to set.- Returns:
- the OperationStatusResult object itself.
-
withStartTime
Set the startTime property: The start time of the operation.- Overrides:
withStartTime
in classOperationStatusResult
- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperationStatusResult object itself.
-
withEndTime
Set the endTime property: The end time of the operation.- Overrides:
withEndTime
in classOperationStatusResult
- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationStatusResult object itself.
-
withOperations
Set the operations property: The operations list.- Overrides:
withOperations
in classOperationStatusResult
- Parameters:
operations
- the operations value to set.- Returns:
- the OperationStatusResult object itself.
-
withError
Set the error property: If present, details of the operation error.- Overrides:
withError
in classOperationStatusResult
- Parameters:
error
- the error value to set.- Returns:
- the OperationStatusResult object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classOperationStatusResult
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-