Class OperationStatusInner
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.OperationStatusInner
-
public final class OperationStatusInner extends Object
Operation status.
-
-
Constructor Summary
Constructors Constructor Description OperationStatusInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
endTime()
Get the endTime property: Operation end time.OperationStatusError
error()
Get the error property: Error information related to this operation.String
id()
Get the id property: ID of the operation.String
name()
Get the name property: Name of the operation.OperationStatusExtendedInfo
properties()
Get the properties property: Additional information associated with this operation.OffsetDateTime
startTime()
Get the startTime property: Operation start time.OperationStatusValues
status()
Get the status property: Operation status.void
validate()
Validates the instance.OperationStatusInner
withEndTime(OffsetDateTime endTime)
Set the endTime property: Operation end time.OperationStatusInner
withError(OperationStatusError error)
Set the error property: Error information related to this operation.OperationStatusInner
withId(String id)
Set the id property: ID of the operation.OperationStatusInner
withName(String name)
Set the name property: Name of the operation.OperationStatusInner
withProperties(OperationStatusExtendedInfo properties)
Set the properties property: Additional information associated with this operation.OperationStatusInner
withStartTime(OffsetDateTime startTime)
Set the startTime property: Operation start time.OperationStatusInner
withStatus(OperationStatusValues status)
Set the status property: Operation status.
-
-
-
Method Detail
-
id
public String id()
Get the id property: ID of the operation.- Returns:
- the id value.
-
withId
public OperationStatusInner withId(String id)
Set the id property: ID of the operation.- Parameters:
id
- the id value to set.- Returns:
- the OperationStatusInner object itself.
-
name
public String name()
Get the name property: Name of the operation.- Returns:
- the name value.
-
withName
public OperationStatusInner withName(String name)
Set the name property: Name of the operation.- Parameters:
name
- the name value to set.- Returns:
- the OperationStatusInner object itself.
-
status
public OperationStatusValues status()
Get the status property: Operation status.- Returns:
- the status value.
-
withStatus
public OperationStatusInner withStatus(OperationStatusValues status)
Set the status property: Operation status.- Parameters:
status
- the status value to set.- Returns:
- the OperationStatusInner object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Operation start time. Format: ISO-8601.- Returns:
- the startTime value.
-
withStartTime
public OperationStatusInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Operation start time. Format: ISO-8601.- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperationStatusInner object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: Operation end time. Format: ISO-8601.- Returns:
- the endTime value.
-
withEndTime
public OperationStatusInner withEndTime(OffsetDateTime endTime)
Set the endTime property: Operation end time. Format: ISO-8601.- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationStatusInner object itself.
-
error
public OperationStatusError error()
Get the error property: Error information related to this operation.- Returns:
- the error value.
-
withError
public OperationStatusInner withError(OperationStatusError error)
Set the error property: Error information related to this operation.- Parameters:
error
- the error value to set.- Returns:
- the OperationStatusInner object itself.
-
properties
public OperationStatusExtendedInfo properties()
Get the properties property: Additional information associated with this operation.- Returns:
- the properties value.
-
withProperties
public OperationStatusInner withProperties(OperationStatusExtendedInfo properties)
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.
-
-