TaskRunPropertiesUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.TaskRunPropertiesUpdateParameters

Implements

public final class TaskRunPropertiesUpdateParameters
implements JsonSerializable<TaskRunPropertiesUpdateParameters>

The properties of a task run update parameters.

Constructor Summary

Constructor Description
TaskRunPropertiesUpdateParameters()

Creates an instance of TaskRunPropertiesUpdateParameters class.

Method Summary

Modifier and Type Method and Description
String forceUpdateTag()

Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.

static TaskRunPropertiesUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of TaskRunPropertiesUpdateParameters from the JsonReader.

RunRequest runRequest()

Get the runRequest property: The request (parameters) for the new run.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TaskRunPropertiesUpdateParameters withForceUpdateTag(String forceUpdateTag)

Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.

TaskRunPropertiesUpdateParameters withRunRequest(RunRequest runRequest)

Set the runRequest property: The request (parameters) for the new run.

Methods inherited from java.lang.Object

Constructor Details

TaskRunPropertiesUpdateParameters

public TaskRunPropertiesUpdateParameters()

Creates an instance of TaskRunPropertiesUpdateParameters class.

Method Details

forceUpdateTag

public String forceUpdateTag()

Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.

Returns:

the forceUpdateTag value.

fromJson

public static TaskRunPropertiesUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of TaskRunPropertiesUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TaskRunPropertiesUpdateParameters 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 TaskRunPropertiesUpdateParameters.

runRequest

public RunRequest runRequest()

Get the runRequest property: The request (parameters) for the new run.

Returns:

the runRequest value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withForceUpdateTag

public TaskRunPropertiesUpdateParameters withForceUpdateTag(String forceUpdateTag)

Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.

Parameters:

forceUpdateTag - the forceUpdateTag value to set.

Returns:

the TaskRunPropertiesUpdateParameters object itself.

withRunRequest

public TaskRunPropertiesUpdateParameters withRunRequest(RunRequest runRequest)

Set the runRequest property: The request (parameters) for the new run.

Parameters:

runRequest - the runRequest value to set.

Returns:

the TaskRunPropertiesUpdateParameters object itself.

Applies to