Class AsyncOperationStatusInner
java.lang.Object
com.azure.resourcemanager.mobilenetwork.fluent.models.AsyncOperationStatusInner
The current status of an async operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AsyncOperationStatusInner class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: The end time of the operation.com.azure.core.management.exception.ManagementError
error()
Get the error property: If present, details of the operation error.id()
Get the id property: Fully qualified ID for the async operation.name()
Get the name property: Name of the async operation.Get the percentComplete property: Percentage of the operation that is complete.Get the properties property: Properties returned by the resource provider on a successful operation.Get the resourceId property: Fully qualified ID for the resource that this async operation status relates to.Get the startTime property: The start time of the operation.status()
Get the status property: The operation status.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: The end time of the operation.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: If present, details of the operation error.Set the id property: Fully qualified ID for the async operation.Set the name property: Name of the async operation.withPercentComplete
(Double percentComplete) Set the percentComplete property: Percentage of the operation that is complete.withProperties
(Object properties) Set the properties property: Properties returned by the resource provider on a successful operation.withResourceId
(String resourceId) Set the resourceId property: Fully qualified ID for the resource that this async operation status relates to.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start time of the operation.withStatus
(String status) Set the status property: The operation status.
-
Constructor Details
-
AsyncOperationStatusInner
public AsyncOperationStatusInner()Creates an instance of AsyncOperationStatusInner class.
-
-
Method Details
-
id
Get the id property: Fully qualified ID for the async operation.- Returns:
- the id value.
-
withId
Set the id property: Fully qualified ID for the async operation.- Parameters:
id
- the id value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
name
Get the name property: Name of the async operation.- Returns:
- the name value.
-
withName
Set the name property: Name of the async operation.- Parameters:
name
- the name value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
status
Get the status property: The operation status.- Returns:
- the status value.
-
withStatus
Set the status property: The operation status.- Parameters:
status
- the status value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
resourceId
Get the resourceId property: Fully qualified ID for the resource that this async operation status relates to.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Fully qualified ID for the resource that this async operation status relates to.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
startTime
Get the startTime property: The start time of the operation.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start time of the operation.- Parameters:
startTime
- the startTime value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
endTime
Get the endTime property: The end time of the operation.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end time of the operation.- Parameters:
endTime
- the endTime value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
percentComplete
Get the percentComplete property: Percentage of the operation that is complete.- Returns:
- the percentComplete value.
-
withPercentComplete
Set the percentComplete property: Percentage of the operation that is complete.- Parameters:
percentComplete
- the percentComplete value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
properties
Get the properties property: Properties returned by the resource provider on a successful operation.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties returned by the resource provider on a successful operation.- Parameters:
properties
- the properties value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: If present, details of the operation error.- Returns:
- the error value.
-
withError
public AsyncOperationStatusInner withError(com.azure.core.management.exception.ManagementError error) Set the error property: If present, details of the operation error.- Parameters:
error
- the error value to set.- Returns:
- the AsyncOperationStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-