Class EncodedTaskStepUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.TaskStepUpdateParameters
-
- com.azure.resourcemanager.containerregistry.models.EncodedTaskStepUpdateParameters
-
public final class EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters
The properties for updating encoded task step.
-
-
Constructor Summary
Constructors Constructor Description EncodedTaskStepUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringencodedTaskContent()Get the encodedTaskContent property: Base64 encoded value of the template/definition file content.StringencodedValuesContent()Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.voidvalidate()Validates the instance.List<SetValue>values()Get the values property: The collection of overridable values that can be passed when running a task.EncodedTaskStepUpdateParameterswithContextAccessToken(String contextAccessToken)Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.EncodedTaskStepUpdateParameterswithContextPath(String contextPath)Set the contextPath property: The URL(absolute or relative) of the source context for the task step.EncodedTaskStepUpdateParameterswithEncodedTaskContent(String encodedTaskContent)Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.EncodedTaskStepUpdateParameterswithEncodedValuesContent(String encodedValuesContent)Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.EncodedTaskStepUpdateParameterswithValues(List<SetValue> values)Set the values property: The collection of overridable values that can be passed when running a task.-
Methods inherited from class com.azure.resourcemanager.containerregistry.models.TaskStepUpdateParameters
contextAccessToken, contextPath
-
-
-
-
Method Detail
-
encodedTaskContent
public String encodedTaskContent()
Get the encodedTaskContent property: Base64 encoded value of the template/definition file content.- Returns:
- the encodedTaskContent value.
-
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.
-
encodedValuesContent
public String encodedValuesContent()
Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.- Returns:
- the encodedValuesContent value.
-
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.
-
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 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.
-
withContextPath
public EncodedTaskStepUpdateParameters 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 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:
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.
-
-