public static final class ProduceActionOptions.Builder
extends java.lang.Object
ProduceActionOptions
Constructor and Description |
---|
Builder() |
public ProduceActionOptions.Builder actionName(java.lang.String actionName)
ProduceActionOptions.getActionName()
actionName
- Name the action should get. This parameter is required.this
public ProduceActionOptions.Builder artifacts(ArtifactMap artifacts)
ProduceActionOptions.getArtifacts()
artifacts
- Helper object to translate FileSets to CodePipeline Artifacts. This parameter is required.this
public ProduceActionOptions.Builder pipeline(CodePipeline pipeline)
ProduceActionOptions.getPipeline()
pipeline
- The pipeline the action is being generated for. This parameter is required.this
public ProduceActionOptions.Builder runOrder(java.lang.Number runOrder)
ProduceActionOptions.getRunOrder()
runOrder
- RunOrder the action should get. This parameter is required.this
public ProduceActionOptions.Builder scope(software.constructs.Construct scope)
ProduceActionOptions.getScope()
scope
- Scope in which to create constructs. This parameter is required.this
public ProduceActionOptions.Builder beforeSelfMutation(java.lang.Boolean beforeSelfMutation)
ProduceActionOptions.getBeforeSelfMutation()
beforeSelfMutation
- Whether or not this action is inserted before self mutation.
If it is, the action should take care to reflect some part of
its own definition in the pipeline action definition, to
trigger a restart after self-mutation (if necessary).this
public ProduceActionOptions.Builder codeBuildDefaults(CodeBuildOptions codeBuildDefaults)
ProduceActionOptions.getCodeBuildDefaults()
codeBuildDefaults
- If this action factory creates a CodeBuild step, default options to inherit.this
public ProduceActionOptions.Builder fallbackArtifact(Artifact fallbackArtifact)
ProduceActionOptions.getFallbackArtifact()
fallbackArtifact
- An input artifact that CodeBuild projects that don't actually need an input artifact can use.
CodeBuild Projects MUST have an input artifact in order to be added to the Pipeline. If
the Project doesn't actually care about its input (it can be anything), it can use the
Artifact passed here.this
public ProduceActionOptions.Builder variablesNamespace(java.lang.String variablesNamespace)
ProduceActionOptions.getVariablesNamespace()
variablesNamespace
- If this step is producing outputs, the variables namespace assigned to it.
Pass this on to the Action you are creating.this
public ProduceActionOptions build()
ProduceActionOptions
java.lang.NullPointerException
- if any required attribute was not provided