Share via


EncodedTaskStepUpdateParameters Class

public final class EncodedTaskStepUpdateParameters
extends TaskStepUpdateParameters

The properties for updating encoded task step.

Constructor Summary

Constructor Description
EncodedTaskStepUpdateParameters()

Creates an instance of EncodedTaskStepUpdateParameters class.

Method Summary

Modifier and Type Method and Description
String encodedTaskContent()

Get the encodedTaskContent property: Base64 encoded value of the template/definition file content.

String encodedValuesContent()

Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.

static EncodedTaskStepUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of EncodedTaskStepUpdateParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
StepType type()

Get the type property: The type of the step.

void validate()

Validates the instance.

List<SetValue> values()

Get the values property: The collection of overridable values that can be passed when running a task.

EncodedTaskStepUpdateParameters withContextAccessToken(String contextAccessToken)

Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.

EncodedTaskStepUpdateParameters withContextPath(String contextPath)

Set the contextPath property: The URL(absolute or relative) of the source context for the task step.

EncodedTaskStepUpdateParameters withEncodedTaskContent(String encodedTaskContent)

Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.

EncodedTaskStepUpdateParameters withEncodedValuesContent(String encodedValuesContent)

Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.

EncodedTaskStepUpdateParameters withValues(List<SetValue> values)

Set the values property: The collection of overridable values that can be passed when running a task.

Methods inherited from TaskStepUpdateParameters

Methods inherited from java.lang.Object

Constructor Details

EncodedTaskStepUpdateParameters

public EncodedTaskStepUpdateParameters()

Creates an instance of EncodedTaskStepUpdateParameters class.

Method Details

encodedTaskContent

public String encodedTaskContent()

Get the encodedTaskContent property: Base64 encoded value of the template/definition file content.

Returns:

the encodedTaskContent value.

encodedValuesContent

public String encodedValuesContent()

Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.

Returns:

the encodedValuesContent value.

fromJson

public static EncodedTaskStepUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of EncodedTaskStepUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EncodedTaskStepUpdateParameters.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public StepType type()

Get the type property: The type of the step.

Overrides:

EncodedTaskStepUpdateParameters.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

EncodedTaskStepUpdateParameters.validate()

values

public List<SetValue> values()

Get the values property: The collection of overridable values that can be passed when running a task.

Returns:

the values value.

withContextAccessToken

public EncodedTaskStepUpdateParameters withContextAccessToken(String contextAccessToken)

Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.

Overrides:

EncodedTaskStepUpdateParameters.withContextAccessToken(String contextAccessToken)

Parameters:

contextAccessToken

withContextPath

public EncodedTaskStepUpdateParameters withContextPath(String contextPath)

Set the contextPath property: The URL(absolute or relative) of the source context for the task step.

Overrides:

EncodedTaskStepUpdateParameters.withContextPath(String contextPath)

Parameters:

contextPath

withEncodedTaskContent

public EncodedTaskStepUpdateParameters withEncodedTaskContent(String encodedTaskContent)

Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.

Parameters:

encodedTaskContent - the encodedTaskContent value to set.

Returns:

the EncodedTaskStepUpdateParameters object itself.

withEncodedValuesContent

public EncodedTaskStepUpdateParameters withEncodedValuesContent(String encodedValuesContent)

Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.

Parameters:

encodedValuesContent - the encodedValuesContent value to set.

Returns:

the EncodedTaskStepUpdateParameters object itself.

withValues

public EncodedTaskStepUpdateParameters withValues(List<SetValue> values)

Set the values property: The collection of overridable values that can be passed when running a task.

Parameters:

values - the values value to set.

Returns:

the EncodedTaskStepUpdateParameters object itself.

Applies to