Class ExecutionTriggerUpdate
java.lang.Object
com.azure.resourcemanager.storage.models.ExecutionTriggerUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExecutionTriggerUpdate>
public final class ExecutionTriggerUpdate
extends Object
implements com.azure.json.JsonSerializable<ExecutionTriggerUpdate>
Execution trigger update for storage task assignment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExecutionTriggerUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionTriggerUpdatefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExecutionTriggerUpdate from the JsonReader.Get the parameters property: The trigger parameters of the storage task assignment execution.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The trigger type of the storage task assignment execution.voidvalidate()Validates the instance.withParameters(TriggerParametersUpdate parameters) Set the parameters property: The trigger parameters of the storage task assignment execution.withType(TriggerType type) Set the type property: The trigger type of the storage task assignment execution.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExecutionTriggerUpdate
public ExecutionTriggerUpdate()Creates an instance of ExecutionTriggerUpdate class.
-
-
Method Details
-
type
Get the type property: The trigger type of the storage task assignment execution.- Returns:
- the type value.
-
withType
Set the type property: The trigger type of the storage task assignment execution.- Parameters:
type- the type value to set.- Returns:
- the ExecutionTriggerUpdate object itself.
-
parameters
Get the parameters property: The trigger parameters of the storage task assignment execution.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The trigger parameters of the storage task assignment execution.- Parameters:
parameters- the parameters value to set.- Returns:
- the ExecutionTriggerUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExecutionTriggerUpdate>- Throws:
IOException
-
fromJson
public static ExecutionTriggerUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExecutionTriggerUpdate from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExecutionTriggerUpdate 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 ExecutionTriggerUpdate.
-