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

public final class Workflow extends WorkflowResource
The workflow type.
  • Constructor Details

    • Workflow

      public Workflow()
  • Method Details

    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: Managed service identity.
      Returns:
      the identity value.
    • 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.
    • withLocation

      public Workflow withLocation(String location)
      Overrides:
      withLocation in class WorkflowResource
    • withTags

      public Workflow withTags(Map<String,String> tags)
      Overrides:
      withTags in class WorkflowResource
    • provisioningState

      public WorkflowProvisioningState provisioningState()
      Get the provisioningState property: Gets the provisioning state.
      Returns:
      the provisioningState value.
    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: Gets the created time.
      Returns:
      the createdTime value.
    • changedTime

      public OffsetDateTime changedTime()
      Get the changedTime property: Gets the changed time.
      Returns:
      the changedTime value.
    • state

      public WorkflowState state()
      Get the state property: The state.
      Returns:
      the state value.
    • withState

      public Workflow withState(WorkflowState state)
      Set the state property: The state.
      Parameters:
      state - the state value to set.
      Returns:
      the Workflow object itself.
    • version

      public String version()
      Get the version property: Gets the version.
      Returns:
      the version value.
    • accessEndpoint

      public String accessEndpoint()
      Get the accessEndpoint property: Gets the access endpoint.
      Returns:
      the accessEndpoint value.
    • endpointsConfiguration

      public FlowEndpointsConfiguration endpointsConfiguration()
      Get the endpointsConfiguration property: The endpoints configuration.
      Returns:
      the endpointsConfiguration value.
    • 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.
    • accessControl

      public FlowAccessControlConfiguration accessControl()
      Get the accessControl property: The access control configuration.
      Returns:
      the accessControl 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.
    • sku

      public WorkflowSku sku()
      Get the sku property: The sku.
      Returns:
      the sku value.
    • integrationAccount

      public ResourceReference integrationAccount()
      Get the integrationAccount property: The integration account.
      Returns:
      the integrationAccount value.
    • 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.
    • integrationServiceEnvironment

      public ResourceReference integrationServiceEnvironment()
      Get the integrationServiceEnvironment property: The integration service environment.
      Returns:
      the integrationServiceEnvironment value.
    • 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.
    • definition

      public Object definition()
      Get the definition property: The definition.
      Returns:
      the definition value.
    • withDefinition

      public Workflow withDefinition(Object definition)
      Set the definition property: The definition.
      Parameters:
      definition - the definition value to set.
      Returns:
      the Workflow object itself.
    • parameters

      public Map<String,WorkflowParameter> parameters()
      Get the parameters property: The parameters.
      Returns:
      the parameters value.
    • 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.
    • kind

      public Kind kind()
      Get the kind property: The workflow kind.
      Returns:
      the kind value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class WorkflowResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.