OperationStatusInner Class
- java.
lang. Object - com.
azure. resourcemanager. redis. models. OperationStatusResult - com.
azure. resourcemanager. redis. fluent. models. OperationStatusInner
- com.
- com.
public final class OperationStatusInner
extends OperationStatusResult
Asynchronous operation status.
Constructor Summary
Constructor | Description |
---|---|
OperationStatusInner() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
Map<String,Object> |
properties()
Get the properties property: Additional properties from RP, only when operation is successful. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withEndTime(OffsetDateTime endTime)
Set the end |
Operation |
withError(ManagementError error)
Set the error property: If present, details of the operation error. |
Operation |
withId(String id)
Set the id property: Fully qualified ID for the async operation. |
Operation |
withName(String name)
Set the name property: Name of the async operation. |
Operation |
withOperations(List<OperationStatusResult> operations)
Set the operations property: The operations list. |
Operation |
withPercentComplete(Float percentComplete)
Set the percent |
Operation |
withProperties(Map<String,Object> properties)
Set the properties property: Additional properties from RP, only when operation is successful. |
Operation |
withStartTime(OffsetDateTime startTime)
Set the start |
Operation |
withStatus(String status)
Set the status property: Operation status. |
Methods inherited from OperationStatusResult
Methods inherited from java.lang.Object
Constructor Details
OperationStatusInner
public OperationStatusInner()
Creates an instance of OperationStatusInner class.
Method Details
fromJson
public static OperationStatusInner fromJson(JsonReader jsonReader)
Reads an instance of OperationStatusInner from the JsonReader.
Parameters:
Returns:
Throws:
properties
public Map
Get the properties property: Additional properties from RP, only when operation is successful.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OperationStatusInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
OperationStatusInner.validate()withEndTime
public OperationStatusInner withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the operation.
Overrides:
OperationStatusInner.withEndTime(OffsetDateTime endTime)Parameters:
withError
public OperationStatusInner withError(ManagementError error)
Set the error property: If present, details of the operation error.
Overrides:
OperationStatusInner.withError(ManagementError error)Parameters:
withId
public OperationStatusInner withId(String id)
Set the id property: Fully qualified ID for the async operation.
Overrides:
OperationStatusInner.withId(String id)Parameters:
withName
public OperationStatusInner withName(String name)
Set the name property: Name of the async operation.
Overrides:
OperationStatusInner.withName(String name)Parameters:
withOperations
public OperationStatusInner withOperations(List
Set the operations property: The operations list.
Overrides:
OperationStatusInner.withOperations(List<OperationStatusResult> operations)Parameters:
withPercentComplete
public OperationStatusInner withPercentComplete(Float percentComplete)
Set the percentComplete property: Percent of the operation that is complete.
Overrides:
OperationStatusInner.withPercentComplete(Float percentComplete)Parameters:
withProperties
public OperationStatusInner withProperties(Map
Set the properties property: Additional properties from RP, only when operation is successful.
Parameters:
Returns:
withStartTime
public OperationStatusInner withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the operation.
Overrides:
OperationStatusInner.withStartTime(OffsetDateTime startTime)Parameters:
withStatus
public OperationStatusInner withStatus(String status)
Set the status property: Operation status.
Overrides:
OperationStatusInner.withStatus(String status)Parameters:
Applies to
Azure SDK for Java