FileTaskStepUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepUpdateParameters - com.
azure. resourcemanager. containerregistry. models. FileTaskStepUpdateParameters
- com.
- com.
public final class FileTaskStepUpdateParameters
extends TaskStepUpdateParameters
The properties of updating a task step.
Constructor Summary
| Constructor | Description |
|---|---|
| FileTaskStepUpdateParameters() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| String |
taskFilePath()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Step |
type()
Get the type property: The type of the step. |
| void |
validate()
Validates the instance. |
|
List<Set |
values()
Get the values property: The collection of overridable values that can be passed when running a task. |
| String |
valuesFilePath()
Get the values |
|
File |
withContextAccessToken(String contextAccessToken)
Set the context |
|
File |
withContextPath(String contextPath)
Set the context |
|
File |
withTaskFilePath(String taskFilePath)
Set the task |
|
File |
withValues(List<SetValue> values)
Set the values property: The collection of overridable values that can be passed when running a task. |
|
File |
withValuesFilePath(String valuesFilePath)
Set the values |
Methods inherited from TaskStepUpdateParameters
Methods inherited from java.lang.Object
Constructor Details
FileTaskStepUpdateParameters
public FileTaskStepUpdateParameters()
Creates an instance of FileTaskStepUpdateParameters class.
Method Details
fromJson
public static FileTaskStepUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of FileTaskStepUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
taskFilePath
public String taskFilePath()
Get the taskFilePath property: The task template/definition file path relative to the source context.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FileTaskStepUpdateParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public StepType type()
Get the type property: The type of the step.
Overrides:
FileTaskStepUpdateParameters.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileTaskStepUpdateParameters.validate()values
public List<SetValue> values()
Get the values property: The collection of overridable values that can be passed when running a task.
Returns:
valuesFilePath
public String valuesFilePath()
Get the valuesFilePath property: The values/parameters file path relative to the source context.
Returns:
withContextAccessToken
public FileTaskStepUpdateParameters 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:
FileTaskStepUpdateParameters.withContextAccessToken(String contextAccessToken)Parameters:
withContextPath
public FileTaskStepUpdateParameters withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
Overrides:
FileTaskStepUpdateParameters.withContextPath(String contextPath)Parameters:
withTaskFilePath
public FileTaskStepUpdateParameters withTaskFilePath(String taskFilePath)
Set the taskFilePath property: The task template/definition file path relative to the source context.
Parameters:
Returns:
withValues
public FileTaskStepUpdateParameters withValues(List<SetValue> values)
Set the values property: The collection of overridable values that can be passed when running a task.
Parameters:
Returns:
withValuesFilePath
public FileTaskStepUpdateParameters withValuesFilePath(String valuesFilePath)
Set the valuesFilePath property: The values/parameters file path relative to the source context.
Parameters:
Returns: