WorkflowTriggerInner Class

public final class WorkflowTriggerInner
extends SubResource

The workflow trigger.

Constructor Summary

Constructor Description
WorkflowTriggerInner()

Creates an instance of WorkflowTriggerInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime changedTime()

Get the changedTime property: Gets the changed time.

OffsetDateTime createdTime()

Get the createdTime property: Gets the created time.

static WorkflowTriggerInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerInner from the JsonReader.

OffsetDateTime lastExecutionTime()

Get the lastExecutionTime property: Gets the last execution time.

String name()

Get the name property: Gets the workflow trigger name.

OffsetDateTime nextExecutionTime()

Get the nextExecutionTime property: Gets the next execution time.

WorkflowTriggerProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state.

WorkflowTriggerRecurrence recurrence()

Get the recurrence property: Gets the workflow trigger recurrence.

WorkflowState state()

Get the state property: Gets the state.

WorkflowStatus status()

Get the status property: Gets the status.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Gets the workflow trigger type.

void validate()

Validates the instance.

WorkflowTriggerInner withId(String id)
ResourceReference workflow()

Get the workflow property: Gets the reference to workflow.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

WorkflowTriggerInner

public WorkflowTriggerInner()

Creates an instance of WorkflowTriggerInner class.

Method Details

changedTime

public OffsetDateTime changedTime()

Get the changedTime property: Gets the changed time.

Returns:

the changedTime value.

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: Gets the created time.

Returns:

the createdTime value.

fromJson

public static WorkflowTriggerInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastExecutionTime

public OffsetDateTime lastExecutionTime()

Get the lastExecutionTime property: Gets the last execution time.

Returns:

the lastExecutionTime value.

name

public String name()

Get the name property: Gets the workflow trigger name.

Returns:

the name value.

nextExecutionTime

public OffsetDateTime nextExecutionTime()

Get the nextExecutionTime property: Gets the next execution time.

Returns:

the nextExecutionTime value.

provisioningState

public WorkflowTriggerProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state.

Returns:

the provisioningState value.

recurrence

public WorkflowTriggerRecurrence recurrence()

Get the recurrence property: Gets the workflow trigger recurrence.

Returns:

the recurrence value.

state

public WorkflowState state()

Get the state property: Gets the state.

Returns:

the state value.

status

public WorkflowStatus status()

Get the status property: Gets the status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkflowTriggerInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Gets the workflow trigger type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public WorkflowTriggerInner withId(String id)

Overrides:

WorkflowTriggerInner.withId(String id)

Parameters:

id

workflow

public ResourceReference workflow()

Get the workflow property: Gets the reference to workflow.

Returns:

the workflow value.

Applies to