TaskStepProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepProperties
- com.
Implements
public class TaskStepProperties
implements JsonSerializable<TaskStepProperties>
Base properties for any task step.
Constructor Summary
Constructor | Description |
---|---|
TaskStepProperties() |
Creates an instance of Task |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Base |
baseImageDependencies()
Get the base |
String |
contextAccessToken()
Get the context |
String |
contextPath()
Get the context |
static
Task |
fromJson(JsonReader jsonReader)
Reads an instance of Task |
Json |
toJson(JsonWriter jsonWriter) |
Step |
type()
Get the type property: The type of the step. |
void |
validate()
Validates the instance. |
Task |
withContextAccessToken(String contextAccessToken)
Set the context |
Task |
withContextPath(String contextPath)
Set the context |
Methods inherited from java.lang.Object
Constructor Details
TaskStepProperties
public TaskStepProperties()
Creates an instance of TaskStepProperties class.
Method Details
baseImageDependencies
public List
Get the baseImageDependencies property: List of base image dependencies for a step.
Returns:
contextAccessToken
public String contextAccessToken()
Get the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.
Returns:
contextPath
public String contextPath()
Get the contextPath property: The URL(absolute or relative) of the source context for the task step.
Returns:
fromJson
public static TaskStepProperties fromJson(JsonReader jsonReader)
Reads an instance of TaskStepProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public StepType type()
Get the type property: The type of the step.
Returns:
validate
public void validate()
Validates the instance.
withContextAccessToken
public TaskStepProperties 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.
Parameters:
Returns:
withContextPath
public TaskStepProperties withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
Parameters:
Returns:
Applies to
Azure SDK for Java