WorkflowRunTrigger Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.WorkflowRunTrigger

Implements

public final class WorkflowRunTrigger
implements JsonSerializable<WorkflowRunTrigger>

The workflow run trigger.

Constructor Summary

Constructor Description
WorkflowRunTrigger()

Creates an instance of WorkflowRunTrigger class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Gets the code.

Correlation correlation()

Get the correlation property: The run correlation.

OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Object error()

Get the error property: Gets the error.

static WorkflowRunTrigger fromJson(JsonReader jsonReader)

Reads an instance of WorkflowRunTrigger from the JsonReader.

Object inputs()

Get the inputs property: Gets the inputs.

ContentLink inputsLink()

Get the inputsLink property: Gets the link to inputs.

String name()

Get the name property: Gets the name.

Object outputs()

Get the outputs property: Gets the outputs.

ContentLink outputsLink()

Get the outputsLink property: Gets the link to outputs.

OffsetDateTime scheduledTime()

Get the scheduledTime property: Gets the scheduled time.

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.

void validate()

Validates the instance.

WorkflowRunTrigger withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

Methods inherited from java.lang.Object

Constructor Details

WorkflowRunTrigger

public WorkflowRunTrigger()

Creates an instance of WorkflowRunTrigger class.

Method Details

code

public String code()

Get the code property: Gets the code.

Returns:

the code value.

correlation

public Correlation correlation()

Get the correlation property: The run correlation.

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 WorkflowRunTrigger fromJson(JsonReader jsonReader)

Reads an instance of WorkflowRunTrigger from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkflowRunTrigger 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 WorkflowRunTrigger.

inputs

public Object inputs()

Get the inputs property: Gets the inputs.

Returns:

the inputs value.

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 name.

Returns:

the name value.

outputs

public Object outputs()

Get the outputs property: Gets the outputs.

Returns:

the outputs value.

outputsLink

public ContentLink outputsLink()

Get the outputsLink property: Gets the link to outputs.

Returns:

the outputsLink value.

scheduledTime

public OffsetDateTime scheduledTime()

Get the scheduledTime property: Gets the scheduled time.

Returns:

the scheduledTime 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)

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.

validate

public void validate()

Validates the instance.

withCorrelation

public WorkflowRunTrigger withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

Parameters:

correlation - the correlation value to set.

Returns:

the WorkflowRunTrigger object itself.

Applies to