Class WorkflowRunActionInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.appservice.fluent.models.WorkflowRunActionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class WorkflowRunActionInner
extends com.azure.core.management.SubResource
The workflow run action.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowRunActionInner class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Gets the code.Get the correlation property: The correlation properties.endTime()
Get the endTime property: Gets the end time.error()
Get the error property: Gets the error.static WorkflowRunActionInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowRunActionInner from the JsonReader.Get the inputsLink property: Gets the link to inputs.name()
Get the name property: Gets the workflow run action name.Get the outputsLink property: Gets the link to outputs.Get the retryHistory property: Gets the retry histories.Get the startTime property: Gets the start time.status()
Get the status property: Gets the status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the trackedProperties property: Gets the tracked properties.Get the trackingId property: Gets the tracking id.type()
Get the type property: Gets the workflow run action type.void
validate()
Validates the instance.withCorrelation
(RunActionCorrelation correlation) Set the correlation property: The correlation properties.withRetryHistory
(List<RetryHistory> retryHistory) Set the retryHistory property: Gets the retry histories.Methods inherited from class com.azure.core.management.SubResource
id
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
-
WorkflowRunActionInner
public WorkflowRunActionInner()Creates an instance of WorkflowRunActionInner class.
-
-
Method Details
-
name
Get the name property: Gets the workflow run action name.- Returns:
- the name value.
-
type
Get the type property: Gets the workflow run action type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
startTime
Get the startTime property: Gets the start time.- Returns:
- the startTime value.
-
endTime
Get the endTime property: Gets the end time.- Returns:
- the endTime value.
-
status
Get the status property: Gets the status.- Returns:
- the status value.
-
code
Get the code property: Gets the code.- Returns:
- the code value.
-
error
Get the error property: Gets the error.- Returns:
- the error value.
-
trackingId
Get the trackingId property: Gets the tracking id.- Returns:
- the trackingId value.
-
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 WorkflowRunActionInner object itself.
-
inputsLink
Get the inputsLink property: Gets the link to inputs.- Returns:
- the inputsLink value.
-
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 WorkflowRunActionInner 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<com.azure.core.management.SubResource>
- Overrides:
toJson
in classcom.azure.core.management.SubResource
- Throws:
IOException
-
fromJson
public static WorkflowRunActionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowRunActionInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowRunActionInner 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 WorkflowRunActionInner.
-