Class WorkflowTriggerInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.appservice.fluent.models.WorkflowTriggerInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class WorkflowTriggerInner
extends com.azure.core.management.SubResource
The workflow trigger.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the changedTime property: Gets the changed time.Get the createdTime property: Gets the created time.static WorkflowTriggerInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowTriggerInner from the JsonReader.Get the lastExecutionTime property: Gets the last execution time.name()
Get the name property: Gets the workflow trigger name.Get the nextExecutionTime property: Gets the next execution time.Get the provisioningState property: Gets the provisioning state.Get the recurrence property: Gets the workflow trigger recurrence.state()
Get the state property: Gets the state.status()
Get the status property: Gets the status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: Gets the workflow trigger type.void
validate()
Validates the instance.workflow()
Get the workflow property: Gets the reference to workflow.Methods inherited from class com.azure.core.management.SubResource
id
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
-
WorkflowTriggerInner
public WorkflowTriggerInner()Creates an instance of WorkflowTriggerInner class.
-
-
Method Details
-
name
Get the name property: Gets the workflow trigger name.- Returns:
- the name value.
-
type
Get the type property: Gets the workflow trigger type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
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: Gets the state.- Returns:
- the state value.
-
status
Get the status property: Gets the status.- Returns:
- the status value.
-
lastExecutionTime
Get the lastExecutionTime property: Gets the last execution time.- Returns:
- the lastExecutionTime value.
-
nextExecutionTime
Get the nextExecutionTime property: Gets the next execution time.- Returns:
- the nextExecutionTime value.
-
recurrence
Get the recurrence property: Gets the workflow trigger recurrence.- Returns:
- the recurrence value.
-
workflow
Get the workflow property: Gets the reference to workflow.- Returns:
- the workflow value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>
- Overrides:
toJson
in classcom.azure.core.management.SubResource
- Throws:
IOException
-
fromJson
public static WorkflowTriggerInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowTriggerInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowTriggerInner 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 WorkflowTriggerInner.
-