Class FileTaskStepUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.TaskStepUpdateParameters
-
- com.azure.resourcemanager.containerregistry.models.FileTaskStepUpdateParameters
-
public final class FileTaskStepUpdateParameters extends TaskStepUpdateParameters
The properties of updating a task step.
-
-
Constructor Summary
Constructors Constructor Description FileTaskStepUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtaskFilePath()Get the taskFilePath property: The task template/definition file path relative to the source context.voidvalidate()Validates the instance.List<SetValue>values()Get the values property: The collection of overridable values that can be passed when running a task.StringvaluesFilePath()Get the valuesFilePath property: The values/parameters file path relative to the source context.FileTaskStepUpdateParameterswithContextAccessToken(String contextAccessToken)Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.FileTaskStepUpdateParameterswithContextPath(String contextPath)Set the contextPath property: The URL(absolute or relative) of the source context for the task step.FileTaskStepUpdateParameterswithTaskFilePath(String taskFilePath)Set the taskFilePath property: The task template/definition file path relative to the source context.FileTaskStepUpdateParameterswithValues(List<SetValue> values)Set the values property: The collection of overridable values that can be passed when running a task.FileTaskStepUpdateParameterswithValuesFilePath(String valuesFilePath)Set the valuesFilePath property: The values/parameters file path relative to the source context.-
Methods inherited from class com.azure.resourcemanager.containerregistry.models.TaskStepUpdateParameters
contextAccessToken, contextPath
-
-
-
-
Method Detail
-
taskFilePath
public String taskFilePath()
Get the taskFilePath property: The task template/definition file path relative to the source context.- Returns:
- the taskFilePath value.
-
withTaskFilePath
public FileTaskStepUpdateParameters withTaskFilePath(String taskFilePath)
Set the taskFilePath property: The task template/definition file path relative to the source context.- Parameters:
taskFilePath- the taskFilePath value to set.- Returns:
- the FileTaskStepUpdateParameters object itself.
-
valuesFilePath
public String valuesFilePath()
Get the valuesFilePath property: The values/parameters file path relative to the source context.- Returns:
- the valuesFilePath value.
-
withValuesFilePath
public FileTaskStepUpdateParameters withValuesFilePath(String valuesFilePath)
Set the valuesFilePath property: The values/parameters file path relative to the source context.- Parameters:
valuesFilePath- the valuesFilePath value to set.- Returns:
- the FileTaskStepUpdateParameters object itself.
-
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.
-
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:
values- the values value to set.- Returns:
- the FileTaskStepUpdateParameters object itself.
-
withContextPath
public FileTaskStepUpdateParameters withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.- Overrides:
withContextPathin classTaskStepUpdateParameters- Parameters:
contextPath- the contextPath value to set.- Returns:
- the TaskStepUpdateParameters object itself.
-
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:
withContextAccessTokenin classTaskStepUpdateParameters- Parameters:
contextAccessToken- the contextAccessToken value to set.- Returns:
- the TaskStepUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classTaskStepUpdateParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-