Partager via


WorkflowEnvelopeProperties Class

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

Implements

public final class WorkflowEnvelopeProperties
implements JsonSerializable<WorkflowEnvelopeProperties>

Additional workflow properties.

Constructor Summary

Constructor Description
WorkflowEnvelopeProperties()

Creates an instance of WorkflowEnvelopeProperties class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> files()

Get the files property: Gets or sets the files.

WorkflowState flowState()

Get the flowState property: Gets or sets the state of the workflow.

static WorkflowEnvelopeProperties fromJson(JsonReader jsonReader)

Reads an instance of WorkflowEnvelopeProperties from the JsonReader.

WorkflowHealth health()

Get the health property: Gets or sets workflow health.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkflowEnvelopeProperties withFiles(Map<String,Object> files)

Set the files property: Gets or sets the files.

WorkflowEnvelopeProperties withFlowState(WorkflowState flowState)

Set the flowState property: Gets or sets the state of the workflow.

WorkflowEnvelopeProperties withHealth(WorkflowHealth health)

Set the health property: Gets or sets workflow health.

Methods inherited from java.lang.Object

Constructor Details

WorkflowEnvelopeProperties

public WorkflowEnvelopeProperties()

Creates an instance of WorkflowEnvelopeProperties class.

Method Details

files

public Map files()

Get the files property: Gets or sets the files.

Returns:

the files value.

flowState

public WorkflowState flowState()

Get the flowState property: Gets or sets the state of the workflow.

Returns:

the flowState value.

fromJson

public static WorkflowEnvelopeProperties fromJson(JsonReader jsonReader)

Reads an instance of WorkflowEnvelopeProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

health

public WorkflowHealth health()

Get the health property: Gets or sets workflow health.

Returns:

the health value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFiles

public WorkflowEnvelopeProperties withFiles(Map files)

Set the files property: Gets or sets the files.

Parameters:

files - the files value to set.

Returns:

the WorkflowEnvelopeProperties object itself.

withFlowState

public WorkflowEnvelopeProperties withFlowState(WorkflowState flowState)

Set the flowState property: Gets or sets the state of the workflow.

Parameters:

flowState - the flowState value to set.

Returns:

the WorkflowEnvelopeProperties object itself.

withHealth

public WorkflowEnvelopeProperties withHealth(WorkflowHealth health)

Set the health property: Gets or sets workflow health.

Parameters:

health - the health value to set.

Returns:

the WorkflowEnvelopeProperties object itself.

Applies to