@Stability(value=Experimental) public static final class TaskWorkflowOptions.Builder extends Object implements software.amazon.jsii.Builder<TaskWorkflowOptions>
TaskWorkflowOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public TaskWorkflowOptions.Builder name(String name)
TaskWorkflowOptions.getName()name - The workflow name. This parameter is required.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder permissions(JobPermissions permissions)
TaskWorkflowOptions.getPermissions()permissions - Permissions for the build job. This parameter is required.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder task(Task task)
TaskWorkflowOptions.getTask()task - The main task to be executed. This parameter is required.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder artifactsDirectory(String artifactsDirectory)
TaskWorkflowOptions.getArtifactsDirectory()artifactsDirectory - A directory name which contains artifacts to be uploaded (e.g. `dist`). If this is set, the contents of this directory will be uploaded as an artifact at the end of the workflow run, even if other steps fail.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder checkoutWith(Map<String,? extends Object> checkoutWith)
TaskWorkflowOptions.getCheckoutWith()checkoutWith - Override for the `with` property of the source code checkout step.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder condition(String condition)
TaskWorkflowOptions.getCondition()condition - Adds an 'if' condition to the workflow.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder container(ContainerOptions container)
TaskWorkflowOptions.getContainer()container - the value to be set.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder env(Map<String,String> env)
TaskWorkflowOptions.getEnv()env - Workflow environment variables.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder gitIdentity(GitIdentity gitIdentity)
TaskWorkflowOptions.getGitIdentity()gitIdentity - The git identity to use in this workflow.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder jobId(String jobId)
TaskWorkflowOptions.getJobId()jobId - The primary job id.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder outputs(Map<String,? extends JobStepOutput> outputs)
TaskWorkflowOptions.getOutputs()outputs - Mapping of job output names to values/expressions.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder postBuildSteps(List<? extends JobStep> postBuildSteps)
TaskWorkflowOptions.getPostBuildSteps()postBuildSteps - Actions to run after the main build step.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder preBuildSteps(List<? extends JobStep> preBuildSteps)
TaskWorkflowOptions.getPreBuildSteps()preBuildSteps - Steps to run before the main build step.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder preCheckoutSteps(List<? extends JobStep> preCheckoutSteps)
TaskWorkflowOptions.getPreCheckoutSteps()preCheckoutSteps - Initial steps to run before the source code checkout.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder runsOn(List<String> runsOn)
TaskWorkflowOptions.getRunsOn()runsOn - Github Runner selection labels.this@Stability(value=Experimental) public TaskWorkflowOptions.Builder triggers(Triggers triggers)
TaskWorkflowOptions.getTriggers()triggers - The triggers for the workflow.this@Stability(value=Experimental) public TaskWorkflowOptions build()
build in interface software.amazon.jsii.Builder<TaskWorkflowOptions>TaskWorkflowOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.