WorkflowEnvelopeInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.WorkflowEnvelopeInner

Implements

public final class WorkflowEnvelopeInner
implements JsonSerializable<WorkflowEnvelopeInner>

Workflow properties definition.

Constructor Summary

Constructor Description
WorkflowEnvelopeInner()

Creates an instance of WorkflowEnvelopeInner class.

Method Summary

Modifier and Type Method and Description
static WorkflowEnvelopeInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowEnvelopeInner from the JsonReader.

String id()

Get the id property: The resource id.

String kind()

Get the kind property: The resource kind.

String location()

Get the location property: The resource location.

String name()

Get the name property: Gets the resource name.

WorkflowEnvelopeProperties properties()

Get the properties property: Additional workflow properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Gets the resource type.

void validate()

Validates the instance.

WorkflowEnvelopeInner withKind(String kind)

Set the kind property: The resource kind.

WorkflowEnvelopeInner withLocation(String location)

Set the location property: The resource location.

WorkflowEnvelopeInner withProperties(WorkflowEnvelopeProperties properties)

Set the properties property: Additional workflow properties.

Methods inherited from java.lang.Object

Constructor Details

WorkflowEnvelopeInner

public WorkflowEnvelopeInner()

Creates an instance of WorkflowEnvelopeInner class.

Method Details

fromJson

public static WorkflowEnvelopeInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowEnvelopeInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The resource id.

Returns:

the id value.

kind

public String kind()

Get the kind property: The resource kind.

Returns:

the kind value.

location

public String location()

Get the location property: The resource location.

Returns:

the location value.

name

public String name()

Get the name property: Gets the resource name.

Returns:

the name value.

properties

public WorkflowEnvelopeProperties properties()

Get the properties property: Additional workflow properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Gets the resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withKind

public WorkflowEnvelopeInner withKind(String kind)

Set the kind property: The resource kind.

Parameters:

kind - the kind value to set.

Returns:

the WorkflowEnvelopeInner object itself.

withLocation

public WorkflowEnvelopeInner withLocation(String location)

Set the location property: The resource location.

Parameters:

location - the location value to set.

Returns:

the WorkflowEnvelopeInner object itself.

withProperties

public WorkflowEnvelopeInner withProperties(WorkflowEnvelopeProperties properties)

Set the properties property: Additional workflow properties.

Parameters:

properties - the properties value to set.

Returns:

the WorkflowEnvelopeInner object itself.

Applies to