EncodedTaskStep Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepProperties - com.
azure. resourcemanager. containerregistry. models. EncodedTaskStep
- com.
- com.
public final class EncodedTaskStep
extends TaskStepProperties
The properties of a encoded task step.
Constructor Summary
| Constructor | Description |
|---|---|
| EncodedTaskStep() |
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 TaskStepProperties
Methods inherited from java.lang.Object
Constructor Details
EncodedTaskStep
public EncodedTaskStep()
Creates an instance of EncodedTaskStep 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 EncodedTaskStep fromJson(JsonReader jsonReader)
Reads an instance of EncodedTaskStep from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EncodedTaskStep.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public StepType type()
Get the type property: The type of the step.
Overrides:
EncodedTaskStep.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
EncodedTaskStep.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 EncodedTaskStep 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:
EncodedTaskStep.withContextAccessToken(String contextAccessToken)Parameters:
withContextPath
public EncodedTaskStep withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
Overrides:
EncodedTaskStep.withContextPath(String contextPath)Parameters:
withEncodedTaskContent
public EncodedTaskStep withEncodedTaskContent(String encodedTaskContent)
Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.
Parameters:
Returns:
withEncodedValuesContent
public EncodedTaskStep withEncodedValuesContent(String encodedValuesContent)
Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.
Parameters:
Returns:
withValues
public EncodedTaskStep withValues(List<SetValue> values)
Set the values property: The collection of overridable values that can be passed when running a task.
Parameters:
Returns: