ExecutionTriggerUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.ExecutionTriggerUpdate

Implements

public final class ExecutionTriggerUpdate
implements JsonSerializable<ExecutionTriggerUpdate>

Execution trigger update for storage task assignment.

Constructor Summary

Constructor Description
ExecutionTriggerUpdate()

Creates an instance of ExecutionTriggerUpdate class.

Method Summary

Modifier and Type Method and Description
static ExecutionTriggerUpdate fromJson(JsonReader jsonReader)

Reads an instance of ExecutionTriggerUpdate from the JsonReader.

TriggerParametersUpdate parameters()

Get the parameters property: The trigger parameters of the storage task assignment execution.

JsonWriter toJson(JsonWriter jsonWriter)
TriggerType type()

Get the type property: The trigger type of the storage task assignment execution.

void validate()

Validates the instance.

ExecutionTriggerUpdate withParameters(TriggerParametersUpdate parameters)

Set the parameters property: The trigger parameters of the storage task assignment execution.

ExecutionTriggerUpdate withType(TriggerType type)

Set the type property: The trigger type of the storage task assignment execution.

Methods inherited from java.lang.Object

Constructor Details

ExecutionTriggerUpdate

public ExecutionTriggerUpdate()

Creates an instance of ExecutionTriggerUpdate class.

Method Details

fromJson

public static ExecutionTriggerUpdate fromJson(JsonReader jsonReader)

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.

parameters

public TriggerParametersUpdate parameters()

Get the parameters property: The trigger parameters of the storage task assignment execution.

Returns:

the parameters value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public TriggerType type()

Get the type property: The trigger type of the storage task assignment execution.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withParameters

public ExecutionTriggerUpdate withParameters(TriggerParametersUpdate parameters)

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.

withType

public ExecutionTriggerUpdate withType(TriggerType type)

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.

Applies to