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