Class OperationResult
java.lang.Object
com.azure.resourcemanager.appservice.models.OperationResultProperties
com.azure.resourcemanager.appservice.models.OperationResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationResultProperties>
- Direct Known Subclasses:
WorkflowRunActionRepetitionProperties
The operation result definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationResultfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OperationResult from the JsonReader.inputs()Get the inputs property: Gets the inputs.Get the inputsLink property: Gets the link to inputs.Get the iterationCount property: The iterationCount property.outputs()Get the outputs property: Gets the outputs.Get the outputsLink property: Gets the link to outputs.Get the retryHistory property: Gets the retry histories.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trackedProperties property: Gets the tracked properties.Get the trackingId property: Gets the tracking id.voidvalidate()Validates the instance.Set the code property: The workflow scope repetition code.withCorrelation(RunActionCorrelation correlation) Set the correlation property: The correlation properties.withEndTime(OffsetDateTime endTime) Set the endTime property: The end time of the workflow scope repetition.Set the error property: Anything.withIterationCount(Integer iterationCount) Set the iterationCount property: The iterationCount property.withRetryHistory(List<RetryHistory> retryHistory) Set the retryHistory property: Gets the retry histories.withStartTime(OffsetDateTime startTime) Set the startTime property: The start time of the workflow scope repetition.withStatus(WorkflowStatus status) Set the status property: The status of the workflow scope repetition.Methods inherited from class OperationResultProperties
code, correlation, endTime, error, startTime, statusMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OperationResult
public OperationResult()Creates an instance of OperationResult class.
-
-
Method Details
-
trackingId
Get the trackingId property: Gets the tracking id.- Returns:
- the trackingId value.
-
inputs
-
inputsLink
Get the inputsLink property: Gets the link to inputs.- Returns:
- the inputsLink value.
-
outputs
-
outputsLink
Get the outputsLink property: Gets the link to outputs.- Returns:
- the outputsLink value.
-
trackedProperties
Get the trackedProperties property: Gets the tracked properties.- Returns:
- the trackedProperties value.
-
retryHistory
Get the retryHistory property: Gets the retry histories.- Returns:
- the retryHistory value.
-
withRetryHistory
Set the retryHistory property: Gets the retry histories.- Parameters:
retryHistory- the retryHistory value to set.- Returns:
- the OperationResult object itself.
-
iterationCount
Get the iterationCount property: The iterationCount property.- Returns:
- the iterationCount value.
-
withIterationCount
Set the iterationCount property: The iterationCount property.- Parameters:
iterationCount- the iterationCount value to set.- Returns:
- the OperationResult object itself.
-
withStartTime
Set the startTime property: The start time of the workflow scope repetition.- Overrides:
withStartTimein classOperationResultProperties- Parameters:
startTime- the startTime value to set.- Returns:
- the OperationResultProperties object itself.
-
withEndTime
Set the endTime property: The end time of the workflow scope repetition.- Overrides:
withEndTimein classOperationResultProperties- Parameters:
endTime- the endTime value to set.- Returns:
- the OperationResultProperties object itself.
-
withCorrelation
Set the correlation property: The correlation properties.- Overrides:
withCorrelationin classOperationResultProperties- Parameters:
correlation- the correlation value to set.- Returns:
- the OperationResultProperties object itself.
-
withStatus
Set the status property: The status of the workflow scope repetition.- Overrides:
withStatusin classOperationResultProperties- Parameters:
status- the status value to set.- Returns:
- the OperationResultProperties object itself.
-
withCode
Set the code property: The workflow scope repetition code.- Overrides:
withCodein classOperationResultProperties- Parameters:
code- the code value to set.- Returns:
- the OperationResultProperties object itself.
-
withError
Set the error property: Anything.- Overrides:
withErrorin classOperationResultProperties- Parameters:
error- the error value to set.- Returns:
- the OperationResultProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classOperationResultProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OperationResultProperties>- Overrides:
toJsonin classOperationResultProperties- Throws:
IOException
-
fromJson
Reads an instance of OperationResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OperationResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the OperationResult.
-