Class Workflow
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appservice.models.WorkflowResource
com.azure.resourcemanager.appservice.models.Workflow
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
The workflow type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessControl property: The access control configuration.Get the accessEndpoint property: Gets the access endpoint.Get the changedTime property: Gets the changed time.Get the createdTime property: Gets the created time.Get the definition property: The definition.Get the endpointsConfiguration property: The endpoints configuration.static Workflow
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of Workflow from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.identity()
Get the identity property: Managed service identity.Get the integrationAccount property: The integration account.Get the integrationServiceEnvironment property: The integration service environment.kind()
Get the kind property: The workflow kind.name()
Get the name property: The name of the resource.Get the parameters property: The parameters.Get the provisioningState property: Gets the provisioning state.sku()
Get the sku property: The sku.state()
Get the state property: The state.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.version()
Get the version property: Gets the version.withAccessControl
(FlowAccessControlConfiguration accessControl) Set the accessControl property: The access control configuration.withDefinition
(Object definition) Set the definition property: The definition.withEndpointsConfiguration
(FlowEndpointsConfiguration endpointsConfiguration) Set the endpointsConfiguration property: The endpoints configuration.withIdentity
(ManagedServiceIdentity identity) Set the identity property: Managed service identity.withIntegrationAccount
(ResourceReference integrationAccount) Set the integrationAccount property: The integration account.withIntegrationServiceEnvironment
(ResourceReference integrationServiceEnvironment) Set the integrationServiceEnvironment property: The integration service environment.Set the kind property: The workflow kind.withLocation
(String location) withParameters
(Map<String, WorkflowParameter> parameters) Set the parameters property: The parameters.withState
(WorkflowState state) Set the state property: The state.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
Workflow
public Workflow()Creates an instance of Workflow class.
-
-
Method Details
-
identity
Get the identity property: Managed service identity.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed service identity.- Parameters:
identity
- the identity value to set.- Returns:
- the Workflow object itself.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classWorkflowResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classWorkflowResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classWorkflowResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classWorkflowResource
-
withTags
- Overrides:
withTags
in classWorkflowResource
-
provisioningState
Get the provisioningState property: Gets the provisioning state.- Returns:
- the provisioningState value.
-
createdTime
Get the createdTime property: Gets the created time.- Returns:
- the createdTime value.
-
changedTime
Get the changedTime property: Gets the changed time.- Returns:
- the changedTime value.
-
state
Get the state property: The state.- Returns:
- the state value.
-
withState
Set the state property: The state.- Parameters:
state
- the state value to set.- Returns:
- the Workflow object itself.
-
version
Get the version property: Gets the version.- Returns:
- the version value.
-
accessEndpoint
Get the accessEndpoint property: Gets the access endpoint.- Returns:
- the accessEndpoint value.
-
endpointsConfiguration
Get the endpointsConfiguration property: The endpoints configuration.- Returns:
- the endpointsConfiguration value.
-
withEndpointsConfiguration
Set the endpointsConfiguration property: The endpoints configuration.- Parameters:
endpointsConfiguration
- the endpointsConfiguration value to set.- Returns:
- the Workflow object itself.
-
accessControl
Get the accessControl property: The access control configuration.- Returns:
- the accessControl value.
-
withAccessControl
Set the accessControl property: The access control configuration.- Parameters:
accessControl
- the accessControl value to set.- Returns:
- the Workflow object itself.
-
sku
Get the sku property: The sku.- Returns:
- the sku value.
-
integrationAccount
Get the integrationAccount property: The integration account.- Returns:
- the integrationAccount value.
-
withIntegrationAccount
Set the integrationAccount property: The integration account.- Parameters:
integrationAccount
- the integrationAccount value to set.- Returns:
- the Workflow object itself.
-
integrationServiceEnvironment
Get the integrationServiceEnvironment property: The integration service environment.- Returns:
- the integrationServiceEnvironment value.
-
withIntegrationServiceEnvironment
Set the integrationServiceEnvironment property: The integration service environment.- Parameters:
integrationServiceEnvironment
- the integrationServiceEnvironment value to set.- Returns:
- the Workflow object itself.
-
definition
Get the definition property: The definition.- Returns:
- the definition value.
-
withDefinition
Set the definition property: The definition.- Parameters:
definition
- the definition value to set.- Returns:
- the Workflow object itself.
-
parameters
Get the parameters property: The parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the Workflow object itself.
-
kind
Get the kind property: The workflow kind.- Returns:
- the kind value.
-
withKind
Set the kind property: The workflow kind.- Parameters:
kind
- the kind value to set.- Returns:
- the Workflow object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWorkflowResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classWorkflowResource
- Throws:
IOException
-
fromJson
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:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the Workflow.
-