Workflow Class

public final class Workflow
extends WorkflowResource

The workflow type.

Constructor Summary

Constructor Description
Workflow()

Creates an instance of Workflow class.

Method Summary

Modifier and Type Method and Description
FlowAccessControlConfiguration accessControl()

Get the accessControl property: The access control configuration.

String accessEndpoint()

Get the accessEndpoint property: Gets the access endpoint.

OffsetDateTime changedTime()

Get the changedTime property: Gets the changed time.

OffsetDateTime createdTime()

Get the createdTime property: Gets the created time.

Object definition()

Get the definition property: The definition.

FlowEndpointsConfiguration endpointsConfiguration()

Get the endpointsConfiguration property: The endpoints configuration.

static Workflow fromJson(JsonReader jsonReader)

Reads an instance of Workflow from the JsonReader.

String id()

Get the id property: The resource id.

ManagedServiceIdentity identity()

Get the identity property: Managed service identity.

ResourceReference integrationAccount()

Get the integrationAccount property: The integration account.

ResourceReference integrationServiceEnvironment()

Get the integrationServiceEnvironment property: The integration service environment.

Kind kind()

Get the kind property: The workflow kind.

String name()

Get the name property: Gets the resource name.

Map<String,WorkflowParameter> parameters()

Get the parameters property: The parameters.

WorkflowProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state.

WorkflowSku sku()

Get the sku property: The sku.

WorkflowState state()

Get the state property: The state.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Gets the resource type.

void validate()

Validates the instance.

String version()

Get the version property: Gets the version.

Workflow withAccessControl(FlowAccessControlConfiguration accessControl)

Set the accessControl property: The access control configuration.

Workflow withDefinition(Object definition)

Set the definition property: The definition.

Workflow withEndpointsConfiguration(FlowEndpointsConfiguration endpointsConfiguration)

Set the endpointsConfiguration property: The endpoints configuration.

Workflow withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity.

Workflow withIntegrationAccount(ResourceReference integrationAccount)

Set the integrationAccount property: The integration account.

Workflow withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)

Set the integrationServiceEnvironment property: The integration service environment.

Workflow withKind(Kind kind)

Set the kind property: The workflow kind.

Workflow withLocation(String location)

Set the location property: The resource location.

Workflow withParameters(Map<String,WorkflowParameter> parameters)

Set the parameters property: The parameters.

Workflow withState(WorkflowState state)

Set the state property: The state.

Workflow withTags(Map<String,String> tags)

Set the tags property: The resource tags.

Methods inherited from WorkflowResource

Methods inherited from java.lang.Object

Constructor Details

Workflow

public Workflow()

Creates an instance of Workflow class.

Method Details

accessControl

public FlowAccessControlConfiguration accessControl()

Get the accessControl property: The access control configuration.

Returns:

the accessControl value.

accessEndpoint

public String accessEndpoint()

Get the accessEndpoint property: Gets the access endpoint.

Returns:

the accessEndpoint value.

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.

definition

public Object definition()

Get the definition property: The definition.

Returns:

the definition value.

endpointsConfiguration

public FlowEndpointsConfiguration endpointsConfiguration()

Get the endpointsConfiguration property: The endpoints configuration.

Returns:

the endpointsConfiguration value.

fromJson

public static Workflow fromJson(JsonReader jsonReader)

Reads an instance of Workflow from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The resource id.

Overrides:

Workflow.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity.

Returns:

the identity value.

integrationAccount

public ResourceReference integrationAccount()

Get the integrationAccount property: The integration account.

Returns:

the integrationAccount value.

integrationServiceEnvironment

public ResourceReference integrationServiceEnvironment()

Get the integrationServiceEnvironment property: The integration service environment.

Returns:

the integrationServiceEnvironment value.

kind

public Kind kind()

Get the kind property: The workflow kind.

Returns:

the kind value.

name

public String name()

Get the name property: Gets the resource name.

Overrides:

Workflow.name()

Returns:

the name value.

parameters

public Map<String,WorkflowParameter> parameters()

Get the parameters property: The parameters.

Returns:

the parameters value.

provisioningState

public WorkflowProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state.

Returns:

the provisioningState value.

sku

public WorkflowSku sku()

Get the sku property: The sku.

Returns:

the sku value.

state

public WorkflowState state()

Get the state property: The state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

Workflow.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Gets the resource type.

Overrides:

Workflow.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

Workflow.validate()

version

public String version()

Get the version property: Gets the version.

Returns:

the version value.

withAccessControl

public Workflow withAccessControl(FlowAccessControlConfiguration accessControl)

Set the accessControl property: The access control configuration.

Parameters:

accessControl - the accessControl value to set.

Returns:

the Workflow object itself.

withDefinition

public Workflow withDefinition(Object definition)

Set the definition property: The definition.

Parameters:

definition - the definition value to set.

Returns:

the Workflow object itself.

withEndpointsConfiguration

public Workflow withEndpointsConfiguration(FlowEndpointsConfiguration endpointsConfiguration)

Set the endpointsConfiguration property: The endpoints configuration.

Parameters:

endpointsConfiguration - the endpointsConfiguration value to set.

Returns:

the Workflow object itself.

withIdentity

public Workflow withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity.

Parameters:

identity - the identity value to set.

Returns:

the Workflow object itself.

withIntegrationAccount

public Workflow withIntegrationAccount(ResourceReference integrationAccount)

Set the integrationAccount property: The integration account.

Parameters:

integrationAccount - the integrationAccount value to set.

Returns:

the Workflow object itself.

withIntegrationServiceEnvironment

public Workflow withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)

Set the integrationServiceEnvironment property: The integration service environment.

Parameters:

integrationServiceEnvironment - the integrationServiceEnvironment value to set.

Returns:

the Workflow object itself.

withKind

public Workflow withKind(Kind kind)

Set the kind property: The workflow kind.

Parameters:

kind - the kind value to set.

Returns:

the Workflow object itself.

withLocation

public Workflow withLocation(String location)

Set the location property: The resource location.

Overrides:

Workflow.withLocation(String location)

Parameters:

location

withParameters

public Workflow withParameters(Map<String,WorkflowParameter> parameters)

Set the parameters property: The parameters.

Parameters:

parameters - the parameters value to set.

Returns:

the Workflow object itself.

withState

public Workflow withState(WorkflowState state)

Set the state property: The state.

Parameters:

state - the state value to set.

Returns:

the Workflow object itself.

withTags

public Workflow withTags(Map<String,String> tags)

Set the tags property: The resource tags.

Overrides:

Workflow.withTags(Map<String,String> tags)

Parameters:

tags

Applies to