public static class BuildStage.Builder extends Object
Constructor and Description |
---|
Builder() |
public BuildStage.Builder id(String id)
public BuildStage.Builder displayName(String displayName)
public BuildStage.Builder description(String description)
public BuildStage.Builder projectId(String projectId)
public BuildStage.Builder buildPipelineId(String buildPipelineId)
public BuildStage.Builder compartmentId(String compartmentId)
public BuildStage.Builder timeCreated(Date timeCreated)
public BuildStage.Builder timeUpdated(Date timeUpdated)
public BuildStage.Builder lifecycleState(BuildPipelineStage.LifecycleState lifecycleState)
public BuildStage.Builder lifecycleDetails(String lifecycleDetails)
public BuildStage.Builder buildPipelineStagePredecessorCollection(BuildPipelineStagePredecessorCollection buildPipelineStagePredecessorCollection)
public BuildStage.Builder freeformTags(Map<String,String> freeformTags)
public BuildStage.Builder image(BuildStage.Image image)
Image name for the build environment.
image
- the value to setpublic BuildStage.Builder buildSpecFile(String buildSpecFile)
The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
buildSpecFile
- the value to setpublic BuildStage.Builder stageExecutionTimeoutInSeconds(Integer stageExecutionTimeoutInSeconds)
Timeout for the build stage execution. Specify value in seconds.
stageExecutionTimeoutInSeconds
- the value to setpublic BuildStage.Builder buildSourceCollection(BuildSourceCollection buildSourceCollection)
public BuildStage.Builder primaryBuildSource(String primaryBuildSource)
Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
primaryBuildSource
- the value to setpublic BuildStage.Builder buildRunnerShapeConfig(BuildRunnerShapeConfig buildRunnerShapeConfig)
public BuildStage.Builder privateAccessConfig(NetworkChannel privateAccessConfig)
public BuildStage build()
public BuildStage.Builder copy(BuildStage model)
Copyright © 2016–2024. All rights reserved.