OperationResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. fluent. models. OperationResourceInner
- com.
Implements
public final class OperationResourceInner
implements JsonSerializable<OperationResourceInner>
An operation.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationResourceInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
|
Management |
error()
Get the error property: Errors from the operation. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
id()
Get the id property: Operation ID. |
| String |
name()
Get the name property: Operation name. |
| Float |
percentComplete()
Get the percent |
| Object |
properties()
Get the properties property: Operation properties. |
|
Offset |
startTime()
Get the start |
|
Operation |
status()
Get the status property: Operation status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withEndTime(OffsetDateTime endTime)
Set the end |
|
Operation |
withError(ManagementError error)
Set the error property: Errors from the operation. |
|
Operation |
withId(String id)
Set the id property: Operation ID. |
|
Operation |
withName(String name)
Set the name property: Operation name. |
|
Operation |
withPercentComplete(Float percentComplete)
Set the percent |
|
Operation |
withProperties(Object properties)
Set the properties property: Operation properties. |
|
Operation |
withStartTime(OffsetDateTime startTime)
Set the start |
|
Operation |
withStatus(OperationStatus status)
Set the status property: Operation status. |
Methods inherited from java.lang.Object
Constructor Details
OperationResourceInner
public OperationResourceInner()
Creates an instance of OperationResourceInner class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: Operation start time.
Returns:
error
public ManagementError error()
Get the error property: Errors from the operation.
Returns:
fromJson
public static OperationResourceInner fromJson(JsonReader jsonReader)
Reads an instance of OperationResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Operation ID.
Returns:
name
public String name()
Get the name property: Operation name.
Returns:
percentComplete
public Float percentComplete()
Get the percentComplete property: Completion percentage of the operation.
Returns:
properties
public Object properties()
Get the properties property: Operation properties.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Operation start time.
Returns:
status
public OperationStatus status()
Get the status property: Operation status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEndTime
public OperationResourceInner withEndTime(OffsetDateTime endTime)
Set the endTime property: Operation start time.
Parameters:
Returns:
withError
public OperationResourceInner withError(ManagementError error)
Set the error property: Errors from the operation.
Parameters:
Returns:
withId
public OperationResourceInner withId(String id)
Set the id property: Operation ID.
Parameters:
Returns:
withName
public OperationResourceInner withName(String name)
Set the name property: Operation name.
Parameters:
Returns:
withPercentComplete
public OperationResourceInner withPercentComplete(Float percentComplete)
Set the percentComplete property: Completion percentage of the operation.
Parameters:
Returns:
withProperties
public OperationResourceInner withProperties(Object properties)
Set the properties property: Operation properties.
Parameters:
Returns:
withStartTime
public OperationResourceInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Operation start time.
Parameters:
Returns:
withStatus
public OperationResourceInner withStatus(OperationStatus status)
Set the status property: Operation status.
Parameters:
Returns: