Class OperationResultProperties
java.lang.Object
com.azure.resourcemanager.appservice.models.OperationResultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationResultProperties>
- Direct Known Subclasses:
OperationResult
public class OperationResultProperties
extends Object
implements com.azure.json.JsonSerializable<OperationResultProperties>
The run operation result properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OperationResultProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: The workflow scope repetition code.Get the correlation property: The correlation properties.endTime()
Get the endTime property: The end time of the workflow scope repetition.error()
Get the error property: Anything.static OperationResultProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of OperationResultProperties from the JsonReader.Get the startTime property: The start time of the workflow scope repetition.status()
Get the status property: The status of the workflow scope repetition.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
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.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OperationResultProperties
public OperationResultProperties()Creates an instance of OperationResultProperties class.
-
-
Method Details
-
startTime
Get the startTime property: The start time of the workflow scope repetition.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start time of the workflow scope repetition.- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperationResultProperties object itself.
-
endTime
Get the endTime property: The end time of the workflow scope repetition.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end time of the workflow scope repetition.- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationResultProperties object itself.
-
correlation
Get the correlation property: The correlation properties.- Returns:
- the correlation value.
-
withCorrelation
Set the correlation property: The correlation properties.- Parameters:
correlation
- the correlation value to set.- Returns:
- the OperationResultProperties object itself.
-
status
Get the status property: The status of the workflow scope repetition.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the workflow scope repetition.- Parameters:
status
- the status value to set.- Returns:
- the OperationResultProperties object itself.
-
code
Get the code property: The workflow scope repetition code.- Returns:
- the code value.
-
withCode
Set the code property: The workflow scope repetition code.- Parameters:
code
- the code value to set.- Returns:
- the OperationResultProperties object itself.
-
error
Get the error property: Anything.- Returns:
- the error value.
-
withError
Set the error property: Anything.- Parameters:
error
- the error value to set.- Returns:
- the OperationResultProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<OperationResultProperties>
- Throws:
IOException
-
fromJson
public static OperationResultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OperationResultProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of OperationResultProperties 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 OperationResultProperties.
-