Class OperationResourceInner
java.lang.Object
com.azure.resourcemanager.synapse.fluent.models.OperationResourceInner
An operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: Operation start time.com.azure.core.management.exception.ManagementError
error()
Get the error property: Errors from the operation.id()
Get the id property: Operation ID.name()
Get the name property: Operation name.Get the percentComplete property: Completion percentage of the operation.Get the properties property: Operation properties.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 start time.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: Errors from the operation.Set the id property: Operation ID.Set the name property: Operation name.withPercentComplete
(Float percentComplete) Set the percentComplete property: Completion percentage of the operation.withProperties
(Object properties) Set the properties property: Operation properties.withStartTime
(OffsetDateTime startTime) Set the startTime property: Operation start time.withStatus
(OperationStatus status) Set the status property: Operation status.
-
Constructor Details
-
OperationResourceInner
public OperationResourceInner()Creates an instance of OperationResourceInner class.
-
-
Method Details
-
id
Get the id property: Operation ID.- Returns:
- the id value.
-
withId
Set the id property: Operation ID.- Parameters:
id
- the id value to set.- Returns:
- the OperationResourceInner object itself.
-
name
Get the name property: Operation name.- Returns:
- the name value.
-
withName
Set the name property: Operation name.- Parameters:
name
- the name value to set.- Returns:
- the OperationResourceInner 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 OperationResourceInner object itself.
-
properties
Get the properties property: Operation properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Operation properties.- Parameters:
properties
- the properties value to set.- Returns:
- the OperationResourceInner object itself.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: Errors from the operation.- Returns:
- the error value.
-
withError
Set the error property: Errors from the operation.- Parameters:
error
- the error value to set.- Returns:
- the OperationResourceInner object itself.
-
startTime
Get the startTime property: Operation start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Operation start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperationResourceInner object itself.
-
endTime
Get the endTime property: Operation start time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Operation start time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationResourceInner object itself.
-
percentComplete
Get the percentComplete property: Completion percentage of the operation.- Returns:
- the percentComplete value.
-
withPercentComplete
Set the percentComplete property: Completion percentage of the operation.- Parameters:
percentComplete
- the percentComplete value to set.- Returns:
- the OperationResourceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-