Class OperationStatusInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.OperationStatusInner
The status of operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: End time of the job in standard ISO8601 format.com.azure.core.management.exception.ManagementErrorerror()Get the error property: The error detail of the operation if any.id()Get the id property: The operation Id.name()Get the name property: The operation name.Get the startTime property: Start time of the job in standard ISO8601 format.status()Get the status property: The status of the operation.voidvalidate()Validates the instance.withEndTime(OffsetDateTime endTime) Set the endTime property: End time of the job in standard ISO8601 format.withError(com.azure.core.management.exception.ManagementError error) Set the error property: The error detail of the operation if any.Set the id property: The operation Id.Set the name property: The operation name.withStartTime(OffsetDateTime startTime) Set the startTime property: Start time of the job in standard ISO8601 format.withStatus(String status) Set the status property: The status of the operation.
-
Constructor Details
-
OperationStatusInner
public OperationStatusInner()Creates an instance of OperationStatusInner class.
-
-
Method Details
-
id
Get the id property: The operation Id.- Returns:
- the id value.
-
withId
Set the id property: The operation Id.- Parameters:
id- the id value to set.- Returns:
- the OperationStatusInner object itself.
-
name
Get the name property: The operation name.- Returns:
- the name value.
-
withName
Set the name property: The operation name.- Parameters:
name- the name value to set.- Returns:
- the OperationStatusInner object itself.
-
startTime
Get the startTime property: Start time of the job in standard ISO8601 format.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time of the job in standard ISO8601 format.- Parameters:
startTime- the startTime value to set.- Returns:
- the OperationStatusInner object itself.
-
endTime
Get the endTime property: End time of the job in standard ISO8601 format.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time of the job in standard ISO8601 format.- Parameters:
endTime- the endTime value to set.- Returns:
- the OperationStatusInner object itself.
-
status
Get the status property: The status of the operation.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the operation.- Parameters:
status- the status value to set.- Returns:
- the OperationStatusInner object itself.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: The error detail of the operation if any.- Returns:
- the error value.
-
withError
Set the error property: The error detail of the operation if any.- Parameters:
error- the error value to set.- Returns:
- the OperationStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-