TaskRunPropertiesInner Class

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

Implements

public final class TaskRunPropertiesInner
implements JsonSerializable<TaskRunPropertiesInner>

The properties of task run.

Constructor Summary

Constructor Description
TaskRunPropertiesInner()

Creates an instance of TaskRunPropertiesInner 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 TaskRunPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of TaskRunPropertiesInner from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this task run.

RunRequest runRequest()

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

RunInner runResult()

Get the runResult property: The result of this task run.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TaskRunPropertiesInner withForceUpdateTag(String forceUpdateTag)

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

TaskRunPropertiesInner withRunRequest(RunRequest runRequest)

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

Methods inherited from java.lang.Object

Constructor Details

TaskRunPropertiesInner

public TaskRunPropertiesInner()

Creates an instance of TaskRunPropertiesInner 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 TaskRunPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of TaskRunPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this task run.

Returns:

the provisioningState value.

runRequest

public RunRequest runRequest()

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

Returns:

the runRequest value.

runResult

public RunInner runResult()

Get the runResult property: The result of this task run.

Returns:

the runResult value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withForceUpdateTag

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

withRunRequest

public TaskRunPropertiesInner withRunRequest(RunRequest runRequest)

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

Parameters:

runRequest - the runRequest value to set.

Returns:

the TaskRunPropertiesInner object itself.

Applies to