Class WorkflowVersionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appservice.models.WorkflowResource
com.azure.resourcemanager.appservice.fluent.models.WorkflowVersionInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class WorkflowVersionInner extends WorkflowResource
The workflow version.
  • Constructor Details

    • WorkflowVersionInner

      public WorkflowVersionInner()
      Creates an instance of WorkflowVersionInner class.
  • Method Details

    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class WorkflowResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class WorkflowResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class WorkflowResource
      Returns:
      the id value.
    • withLocation

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

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

      public WorkflowProvisioningState provisioningState()
      Get the provisioningState property: 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 WorkflowVersionInner withState(WorkflowState state)
      Set the state property: The state.
      Parameters:
      state - the state value to set.
      Returns:
      the WorkflowVersionInner 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 WorkflowVersionInner withEndpointsConfiguration(FlowEndpointsConfiguration endpointsConfiguration)
      Set the endpointsConfiguration property: The endpoints configuration.
      Parameters:
      endpointsConfiguration - the endpointsConfiguration value to set.
      Returns:
      the WorkflowVersionInner object itself.
    • accessControl

      public FlowAccessControlConfiguration accessControl()
      Get the accessControl property: The access control configuration.
      Returns:
      the accessControl value.
    • withAccessControl

      public WorkflowVersionInner withAccessControl(FlowAccessControlConfiguration accessControl)
      Set the accessControl property: The access control configuration.
      Parameters:
      accessControl - the accessControl value to set.
      Returns:
      the WorkflowVersionInner 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 WorkflowVersionInner withIntegrationAccount(ResourceReference integrationAccount)
      Set the integrationAccount property: The integration account.
      Parameters:
      integrationAccount - the integrationAccount value to set.
      Returns:
      the WorkflowVersionInner object itself.
    • definition

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

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

      public Map<String,WorkflowParameter> parameters()
      Get the parameters property: The parameters.
      Returns:
      the parameters value.
    • withParameters

      public WorkflowVersionInner withParameters(Map<String,WorkflowParameter> parameters)
      Set the parameters property: The parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the WorkflowVersionInner object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class WorkflowResource
      Throws:
      IOException
    • fromJson

      public static WorkflowVersionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkflowVersionInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkflowVersionInner 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 WorkflowVersionInner.