WorkflowParameter Class

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

Implements

public class WorkflowParameter
implements JsonSerializable<WorkflowParameter>

The workflow parameters.

Constructor Summary

Constructor Description
WorkflowParameter()

Creates an instance of WorkflowParameter class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description.

static WorkflowParameter fromJson(JsonReader jsonReader)

Reads an instance of WorkflowParameter from the JsonReader.

Object metadata()

Get the metadata property: The metadata.

JsonWriter toJson(JsonWriter jsonWriter)
ParameterType type()

Get the type property: The type.

void validate()

Validates the instance.

Object value()

Get the value property: The value.

WorkflowParameter withDescription(String description)

Set the description property: The description.

WorkflowParameter withMetadata(Object metadata)

Set the metadata property: The metadata.

WorkflowParameter withType(ParameterType type)

Set the type property: The type.

WorkflowParameter withValue(Object value)

Set the value property: The value.

Methods inherited from java.lang.Object

Constructor Details

WorkflowParameter

public WorkflowParameter()

Creates an instance of WorkflowParameter class.

Method Details

description

public String description()

Get the description property: The description.

Returns:

the description value.

fromJson

public static WorkflowParameter fromJson(JsonReader jsonReader)

Reads an instance of WorkflowParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

metadata

public Object metadata()

Get the metadata property: The metadata.

Returns:

the metadata value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ParameterType type()

Get the type property: The type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: The value.

Returns:

the value value.

withDescription

public WorkflowParameter withDescription(String description)

Set the description property: The description.

Parameters:

description - the description value to set.

Returns:

the WorkflowParameter object itself.

withMetadata

public WorkflowParameter withMetadata(Object metadata)

Set the metadata property: The metadata.

Parameters:

metadata - the metadata value to set.

Returns:

the WorkflowParameter object itself.

withType

public WorkflowParameter withType(ParameterType type)

Set the type property: The type.

Parameters:

type - the type value to set.

Returns:

the WorkflowParameter object itself.

withValue

public WorkflowParameter withValue(Object value)

Set the value property: The value.

Parameters:

value - the value value to set.

Returns:

the WorkflowParameter object itself.

Applies to