Class CfnImage.ImagePipelineExecutionSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImage.ImagePipelineExecutionSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImage.ImagePipelineExecutionSettingsProperty>
- Enclosing interface:
CfnImage.ImagePipelineExecutionSettingsProperty
@Stability(Stable)
public static final class CfnImage.ImagePipelineExecutionSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImage.ImagePipelineExecutionSettingsProperty>
A builder for
CfnImage.ImagePipelineExecutionSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deploymentId(String deploymentId) Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getDeploymentId()Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getOnUpdate()onUpdate(IResolvable onUpdate) Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getOnUpdate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentId
@Stability(Stable) public CfnImage.ImagePipelineExecutionSettingsProperty.Builder deploymentId(String deploymentId) Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getDeploymentId()- Parameters:
deploymentId- The deployment ID of the pipeline, used to trigger new image pipeline executions.- Returns:
this
-
onUpdate
@Stability(Stable) public CfnImage.ImagePipelineExecutionSettingsProperty.Builder onUpdate(Boolean onUpdate) Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getOnUpdate()- Parameters:
onUpdate- Whether to trigger the image pipeline when the pipeline is updated. False by default.- Returns:
this
-
onUpdate
@Stability(Stable) public CfnImage.ImagePipelineExecutionSettingsProperty.Builder onUpdate(IResolvable onUpdate) Sets the value ofCfnImage.ImagePipelineExecutionSettingsProperty.getOnUpdate()- Parameters:
onUpdate- Whether to trigger the image pipeline when the pipeline is updated. False by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImage.ImagePipelineExecutionSettingsProperty>- Returns:
- a new instance of
CfnImage.ImagePipelineExecutionSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-