Class OperationStatusInner
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.OperationStatusInner
Operation status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: Operation end time.error()
Get the error property: Error information related to this operation.id()
Get the id property: ID of the operation.name()
Get the name property: Name of the operation.Get the properties property: Additional information associated with this operation.Get the startTime property: Operation start time.status()
Get the status property: Operation status.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: Operation end time.withError
(OperationStatusError error) Set the error property: Error information related to this operation.Set the id property: ID of the operation.Set the name property: Name of the operation.withProperties
(OperationStatusExtendedInfo properties) Set the properties property: Additional information associated with this operation.withStartTime
(OffsetDateTime startTime) Set the startTime property: Operation start time.withStatus
(OperationStatusValues status) Set the status property: Operation status.
-
Constructor Details
-
OperationStatusInner
public OperationStatusInner()Creates an instance of OperationStatusInner class.
-
-
Method Details
-
id
Get the id property: ID of the operation.- Returns:
- the id value.
-
withId
Set the id property: ID of the operation.- Parameters:
id
- the id value to set.- Returns:
- the OperationStatusInner object itself.
-
name
Get the name property: Name of the operation.- Returns:
- the name value.
-
withName
Set the name property: Name of the operation.- Parameters:
name
- the name value to set.- Returns:
- the OperationStatusInner object itself.
-
status
Get the status property: Operation status.- Returns:
- the status value.
-
withStatus
Set the status property: Operation status.- Parameters:
status
- the status value to set.- Returns:
- the OperationStatusInner object itself.
-
startTime
Get the startTime property: Operation start time. Format: ISO-8601.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Operation start time. Format: ISO-8601.- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperationStatusInner object itself.
-
endTime
Get the endTime property: Operation end time. Format: ISO-8601.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Operation end time. Format: ISO-8601.- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationStatusInner object itself.
-
error
Get the error property: Error information related to this operation.- Returns:
- the error value.
-
withError
Set the error property: Error information related to this operation.- Parameters:
error
- the error value to set.- Returns:
- the OperationStatusInner object itself.
-
properties
Get the properties property: Additional information associated with this operation.- Returns:
- the properties value.
-
withProperties
Set the properties property: Additional information associated with this operation.- Parameters:
properties
- the properties value to set.- Returns:
- the OperationStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-