Class WorkflowRunActionRepetitionProperties
java.lang.Object
com.azure.resourcemanager.appservice.models.OperationResultProperties
com.azure.resourcemanager.appservice.models.OperationResult
com.azure.resourcemanager.appservice.fluent.models.WorkflowRunActionRepetitionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationResultProperties>
The workflow run action repetition properties definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowRunActionRepetitionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowRunActionRepetitionProperties from the JsonReader.inputs()
Get the inputs property: Gets the inputs.Get the inputsLink property: Gets the link to inputs.outputs()
Get the outputs property: Gets the outputs.Get the outputsLink property: Gets the link to outputs.Get the repetitionIndexes property: The repetition indexes.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.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.withIterationCount
(Integer iterationCount) Set the iterationCount property: The iterationCount property.withRepetitionIndexes
(List<RepetitionIndex> repetitionIndexes) Set the repetitionIndexes property: The repetition indexes.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 com.azure.resourcemanager.appservice.models.OperationResult
iterationCount, retryHistory
Methods inherited from class com.azure.resourcemanager.appservice.models.OperationResultProperties
code, correlation, endTime, error, startTime, status
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
-
WorkflowRunActionRepetitionProperties
public WorkflowRunActionRepetitionProperties()Creates an instance of WorkflowRunActionRepetitionProperties class.
-
-
Method Details
-
repetitionIndexes
Get the repetitionIndexes property: The repetition indexes.- Returns:
- the repetitionIndexes value.
-
withRepetitionIndexes
public WorkflowRunActionRepetitionProperties withRepetitionIndexes(List<RepetitionIndex> repetitionIndexes) Set the repetitionIndexes property: The repetition indexes.- Parameters:
repetitionIndexes
- the repetitionIndexes value to set.- Returns:
- the WorkflowRunActionRepetitionProperties object itself.
-
trackedProperties
Get the trackedProperties property: Gets the tracked properties.- Overrides:
trackedProperties
in classOperationResult
- Returns:
- the trackedProperties value.
-
outputsLink
Get the outputsLink property: Gets the link to outputs.- Overrides:
outputsLink
in classOperationResult
- Returns:
- the outputsLink value.
-
outputs
Get the outputs property: Gets the outputs.- Overrides:
outputs
in classOperationResult
- Returns:
- the outputs value.
-
inputsLink
Get the inputsLink property: Gets the link to inputs.- Overrides:
inputsLink
in classOperationResult
- Returns:
- the inputsLink value.
-
inputs
Get the inputs property: Gets the inputs.- Overrides:
inputs
in classOperationResult
- Returns:
- the inputs value.
-
trackingId
Get the trackingId property: Gets the tracking id.- Overrides:
trackingId
in classOperationResult
- Returns:
- the trackingId value.
-
withRetryHistory
Set the retryHistory property: Gets the retry histories.- Overrides:
withRetryHistory
in classOperationResult
- Parameters:
retryHistory
- the retryHistory value to set.- Returns:
- the OperationResult object itself.
-
withIterationCount
Set the iterationCount property: The iterationCount property.- Overrides:
withIterationCount
in classOperationResult
- 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:
withStartTime
in classOperationResult
- 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:
withEndTime
in classOperationResult
- Parameters:
endTime
- the endTime value to set.- Returns:
- the OperationResultProperties object itself.
-
withCorrelation
Set the correlation property: The correlation properties.- Overrides:
withCorrelation
in classOperationResult
- 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:
withStatus
in classOperationResult
- Parameters:
status
- the status value to set.- Returns:
- the OperationResultProperties object itself.
-
withCode
Set the code property: The workflow scope repetition code.- Overrides:
withCode
in classOperationResult
- Parameters:
code
- the code value to set.- Returns:
- the OperationResultProperties object itself.
-
withError
Set the error property: Anything.- Overrides:
withError
in classOperationResult
- Parameters:
error
- the error value to set.- Returns:
- the OperationResultProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classOperationResult
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<OperationResultProperties>
- Overrides:
toJson
in classOperationResult
- Throws:
IOException
-
fromJson
public static WorkflowRunActionRepetitionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowRunActionRepetitionProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowRunActionRepetitionProperties 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 WorkflowRunActionRepetitionProperties.
-