DockerBuildStepUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepUpdateParameters - com.
azure. resourcemanager. containerregistry. models. DockerBuildStepUpdateParameters
- com.
- com.
public final class DockerBuildStepUpdateParameters
extends TaskStepUpdateParameters
The properties for updating a docker build step.
Constructor Summary
| Constructor | Description |
|---|---|
| DockerBuildStepUpdateParameters() |
Creates an instance of Docker |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Argument> |
arguments()
Get the arguments property: The collection of override arguments to be used when executing this build step. |
| String |
dockerFilePath()
Get the docker |
|
static
Docker |
fromJson(JsonReader jsonReader)
Reads an instance of Docker |
| List<String> |
imageNames()
Get the image |
| Boolean |
isPushEnabled()
Get the is |
| Boolean |
noCache()
Get the no |
| String |
target()
Get the target property: The name of the target build stage for the docker build. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Step |
type()
Get the type property: The type of the step. |
| void |
validate()
Validates the instance. |
|
Docker |
withArguments(List<Argument> arguments)
Set the arguments property: The collection of override arguments to be used when executing this build step. |
|
Docker |
withContextAccessToken(String contextAccessToken)
Set the context |
|
Docker |
withContextPath(String contextPath)
Set the context |
|
Docker |
withDockerFilePath(String dockerFilePath)
Set the docker |
|
Docker |
withImageNames(List<String> imageNames)
Set the image |
|
Docker |
withIsPushEnabled(Boolean isPushEnabled)
Set the is |
|
Docker |
withNoCache(Boolean noCache)
Set the no |
|
Docker |
withTarget(String target)
Set the target property: The name of the target build stage for the docker build. |
Methods inherited from TaskStepUpdateParameters
Methods inherited from java.lang.Object
Constructor Details
DockerBuildStepUpdateParameters
public DockerBuildStepUpdateParameters()
Creates an instance of DockerBuildStepUpdateParameters class.
Method Details
arguments
public List<Argument> arguments()
Get the arguments property: The collection of override arguments to be used when executing this build step.
Returns:
dockerFilePath
public String dockerFilePath()
Get the dockerFilePath property: The Docker file path relative to the source context.
Returns:
fromJson
public static DockerBuildStepUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of DockerBuildStepUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
imageNames
public List<String> imageNames()
Get the imageNames property: The fully qualified image names including the repository and tag.
Returns:
isPushEnabled
public Boolean isPushEnabled()
Get the isPushEnabled property: The value of this property indicates whether the image built should be pushed to the registry or not.
Returns:
noCache
public Boolean noCache()
Get the noCache property: The value of this property indicates whether the image cache is enabled or not.
Returns:
target
public String target()
Get the target property: The name of the target build stage for the docker build.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DockerBuildStepUpdateParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public StepType type()
Get the type property: The type of the step.
Overrides:
DockerBuildStepUpdateParameters.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DockerBuildStepUpdateParameters.validate()withArguments
public DockerBuildStepUpdateParameters withArguments(List<Argument> arguments)
Set the arguments property: The collection of override arguments to be used when executing this build step.
Parameters:
Returns:
withContextAccessToken
public DockerBuildStepUpdateParameters 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:
DockerBuildStepUpdateParameters.withContextAccessToken(String contextAccessToken)Parameters:
withContextPath
public DockerBuildStepUpdateParameters withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
Overrides:
DockerBuildStepUpdateParameters.withContextPath(String contextPath)Parameters:
withDockerFilePath
public DockerBuildStepUpdateParameters withDockerFilePath(String dockerFilePath)
Set the dockerFilePath property: The Docker file path relative to the source context.
Parameters:
Returns:
withImageNames
public DockerBuildStepUpdateParameters withImageNames(List<String> imageNames)
Set the imageNames property: The fully qualified image names including the repository and tag.
Parameters:
Returns:
withIsPushEnabled
public DockerBuildStepUpdateParameters withIsPushEnabled(Boolean isPushEnabled)
Set the isPushEnabled property: The value of this property indicates whether the image built should be pushed to the registry or not.
Parameters:
Returns:
withNoCache
public DockerBuildStepUpdateParameters withNoCache(Boolean noCache)
Set the noCache property: The value of this property indicates whether the image cache is enabled or not.
Parameters:
Returns:
withTarget
public DockerBuildStepUpdateParameters withTarget(String target)
Set the target property: The name of the target build stage for the docker build.
Parameters:
Returns: