Partilhar via


ExecutionTrigger Class

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

Implements

public final class ExecutionTrigger
implements JsonSerializable<ExecutionTrigger>

Execution trigger for storage task assignment.

Constructor Summary

Constructor Description
ExecutionTrigger()

Creates an instance of ExecutionTrigger class.

Method Summary

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

Reads an instance of ExecutionTrigger from the JsonReader.

TriggerParameters 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.

ExecutionTrigger withParameters(TriggerParameters parameters)

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

ExecutionTrigger withType(TriggerType type)

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

Methods inherited from java.lang.Object

Constructor Details

ExecutionTrigger

public ExecutionTrigger()

Creates an instance of ExecutionTrigger class.

Method Details

fromJson

public static ExecutionTrigger fromJson(JsonReader jsonReader)

Reads an instance of ExecutionTrigger from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExecutionTrigger if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

parameters

public TriggerParameters 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 ExecutionTrigger withParameters(TriggerParameters parameters)

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

Parameters:

parameters - the parameters value to set.

Returns:

the ExecutionTrigger object itself.

withType

public ExecutionTrigger 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 ExecutionTrigger object itself.

Applies to