EncodedTaskStepUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepUpdateParameters - com.
azure. resourcemanager. containerregistry. models. EncodedTaskStepUpdateParameters
- com.
- com.
public final class EncodedTaskStepUpdateParameters
extends TaskStepUpdateParameters
The properties for updating encoded task step.
Constructor Summary
| Constructor | Description |
|---|---|
| EncodedTaskStepUpdateParameters() |
Creates an instance of Encoded |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
encodedTaskContent()
Get the encoded |
| String |
encodedValuesContent()
Get the encoded |
|
static
Encoded |
fromJson(JsonReader jsonReader)
Reads an instance of Encoded |
|
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. |
|
Encoded |
withContextAccessToken(String contextAccessToken)
Set the context |
|
Encoded |
withContextPath(String contextPath)
Set the context |
|
Encoded |
withEncodedTaskContent(String encodedTaskContent)
Set the encoded |
|
Encoded |
withEncodedValuesContent(String encodedValuesContent)
Set the encoded |
|
Encoded |
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:
encodedValuesContent
public String encodedValuesContent()
Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.
Returns:
fromJson
public static EncodedTaskStepUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of EncodedTaskStepUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EncodedTaskStepUpdateParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public StepType type()
Get the type property: The type of the step.
Overrides:
EncodedTaskStepUpdateParameters.type()Returns:
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:
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:
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:
withEncodedTaskContent
public EncodedTaskStepUpdateParameters withEncodedTaskContent(String encodedTaskContent)
Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.
Parameters:
Returns:
withEncodedValuesContent
public EncodedTaskStepUpdateParameters withEncodedValuesContent(String encodedValuesContent)
Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.
Parameters:
Returns:
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:
Returns: