public final class OperationResourceInner extends Object
Constructor and Description |
---|
OperationResourceInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
endTime()
Get the endTime property: Operation start time.
|
com.azure.core.management.exception.ManagementError |
error()
Get the error property: Errors from the operation.
|
String |
id()
Get the id property: Operation ID.
|
String |
name()
Get the name property: Operation name.
|
Float |
percentComplete()
Get the percentComplete property: Completion percentage of the operation.
|
Object |
properties()
Get the properties property: Operation properties.
|
OffsetDateTime |
startTime()
Get the startTime property: Operation start time.
|
OperationStatus |
status()
Get the status property: Operation status.
|
void |
validate()
Validates the instance.
|
OperationResourceInner |
withEndTime(OffsetDateTime endTime)
Set the endTime property: Operation start time.
|
OperationResourceInner |
withError(com.azure.core.management.exception.ManagementError error)
Set the error property: Errors from the operation.
|
OperationResourceInner |
withId(String id)
Set the id property: Operation ID.
|
OperationResourceInner |
withName(String name)
Set the name property: Operation name.
|
OperationResourceInner |
withPercentComplete(Float percentComplete)
Set the percentComplete property: Completion percentage of the operation.
|
OperationResourceInner |
withProperties(Object properties)
Set the properties property: Operation properties.
|
OperationResourceInner |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Operation start time.
|
OperationResourceInner |
withStatus(OperationStatus status)
Set the status property: Operation status.
|
public String id()
public OperationResourceInner withId(String id)
id
- the id value to set.public String name()
public OperationResourceInner withName(String name)
name
- the name value to set.public OperationStatus status()
public OperationResourceInner withStatus(OperationStatus status)
status
- the status value to set.public Object properties()
public OperationResourceInner withProperties(Object properties)
properties
- the properties value to set.public com.azure.core.management.exception.ManagementError error()
public OperationResourceInner withError(com.azure.core.management.exception.ManagementError error)
error
- the error value to set.public OffsetDateTime startTime()
public OperationResourceInner withStartTime(OffsetDateTime startTime)
startTime
- the startTime value to set.public OffsetDateTime endTime()
public OperationResourceInner withEndTime(OffsetDateTime endTime)
endTime
- the endTime value to set.public Float percentComplete()
public OperationResourceInner withPercentComplete(Float percentComplete)
percentComplete
- the percentComplete value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.