WorkflowRunActionInner Class

public final class WorkflowRunActionInner
extends SubResource

The workflow run action.

Constructor Summary

Constructor Description
WorkflowRunActionInner()

Creates an instance of WorkflowRunActionInner class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Gets the code.

RunActionCorrelation correlation()

Get the correlation property: The correlation properties.

OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Object error()

Get the error property: Gets the error.

static WorkflowRunActionInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowRunActionInner from the JsonReader.

ContentLink inputsLink()

Get the inputsLink property: Gets the link to inputs.

String name()

Get the name property: Gets the workflow run action name.

ContentLink outputsLink()

Get the outputsLink property: Gets the link to outputs.

List<RetryHistory> retryHistory()

Get the retryHistory property: Gets the retry histories.

OffsetDateTime startTime()

Get the startTime property: Gets the start time.

WorkflowStatus status()

Get the status property: Gets the status.

JsonWriter toJson(JsonWriter jsonWriter)
Object trackedProperties()

Get the trackedProperties property: Gets the tracked properties.

String trackingId()

Get the trackingId property: Gets the tracking id.

String type()

Get the type property: Gets the workflow run action type.

void validate()

Validates the instance.

WorkflowRunActionInner withCorrelation(RunActionCorrelation correlation)

Set the correlation property: The correlation properties.

WorkflowRunActionInner withId(String id)
WorkflowRunActionInner withRetryHistory(List<RetryHistory> retryHistory)

Set the retryHistory property: Gets the retry histories.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

WorkflowRunActionInner

public WorkflowRunActionInner()

Creates an instance of WorkflowRunActionInner class.

Method Details

code

public String code()

Get the code property: Gets the code.

Returns:

the code value.

correlation

public RunActionCorrelation correlation()

Get the correlation property: The correlation properties.

Returns:

the correlation value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Returns:

the endTime value.

error

public Object error()

Get the error property: Gets the error.

Returns:

the error value.

fromJson

public static WorkflowRunActionInner fromJson(JsonReader jsonReader)

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.

inputsLink

public ContentLink inputsLink()

Get the inputsLink property: Gets the link to inputs.

Returns:

the inputsLink value.

name

public String name()

Get the name property: Gets the workflow run action name.

Returns:

the name value.

outputsLink

public ContentLink outputsLink()

Get the outputsLink property: Gets the link to outputs.

Returns:

the outputsLink value.

retryHistory

public List retryHistory()

Get the retryHistory property: Gets the retry histories.

Returns:

the retryHistory value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Gets the start time.

Returns:

the startTime value.

status

public WorkflowStatus status()

Get the status property: Gets the status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkflowRunActionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trackedProperties

public Object trackedProperties()

Get the trackedProperties property: Gets the tracked properties.

Returns:

the trackedProperties value.

trackingId

public String trackingId()

Get the trackingId property: Gets the tracking id.

Returns:

the trackingId value.

type

public String type()

Get the type property: Gets the workflow run action type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCorrelation

public WorkflowRunActionInner withCorrelation(RunActionCorrelation correlation)

Set the correlation property: The correlation properties.

Parameters:

correlation - the correlation value to set.

Returns:

the WorkflowRunActionInner object itself.

withId

public WorkflowRunActionInner withId(String id)

Overrides:

WorkflowRunActionInner.withId(String id)

Parameters:

id

withRetryHistory

public WorkflowRunActionInner withRetryHistory(List retryHistory)

Set the retryHistory property: Gets the retry histories.

Parameters:

retryHistory - the retryHistory value to set.

Returns:

the WorkflowRunActionInner object itself.

Applies to