Class CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.ArtifactStoreMapProperty>
- Enclosing interface:
CfnPipelinePropsMixin.ArtifactStoreMapProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.ArtifactStoreMapProperty>
A builder for
CfnPipelinePropsMixin.ArtifactStoreMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactStore(CfnPipelinePropsMixin.ArtifactStoreProperty artifactStore) Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getArtifactStore()artifactStore(IResolvable artifactStore) Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getArtifactStore()build()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactStore
@Stability(Stable) public CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder artifactStore(IResolvable artifactStore) Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getArtifactStore()- Parameters:
artifactStore- Represents information about the S3 bucket where artifacts are stored for the pipeline.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
artifactStore
@Stability(Stable) public CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder artifactStore(CfnPipelinePropsMixin.ArtifactStoreProperty artifactStore) Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getArtifactStore()- Parameters:
artifactStore- Represents information about the S3 bucket where artifacts are stored for the pipeline.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
region
@Stability(Stable) public CfnPipelinePropsMixin.ArtifactStoreMapProperty.Builder region(String region) Sets the value ofCfnPipelinePropsMixin.ArtifactStoreMapProperty.getRegion()- Parameters:
region- The action declaration's AWS Region, such as us-east-1.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.ArtifactStoreMapProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.ArtifactStoreMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-