public static final class CfnPipeline.ArtifactStoreMapProperty.Builder
extends java.lang.Object
CfnPipeline.ArtifactStoreMapProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPipeline.ArtifactStoreMapProperty.Builder |
artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
Sets the value of
CfnPipeline.ArtifactStoreMapProperty.getArtifactStore() |
CfnPipeline.ArtifactStoreMapProperty.Builder |
artifactStore(IResolvable artifactStore)
Sets the value of
CfnPipeline.ArtifactStoreMapProperty.getArtifactStore() |
CfnPipeline.ArtifactStoreMapProperty |
build()
Builds the configured instance.
|
CfnPipeline.ArtifactStoreMapProperty.Builder |
region(java.lang.String region)
Sets the value of
CfnPipeline.ArtifactStoreMapProperty.getRegion() |
public CfnPipeline.ArtifactStoreMapProperty.Builder artifactStore(IResolvable artifactStore)
CfnPipeline.ArtifactStoreMapProperty.getArtifactStore()
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
.
this
public CfnPipeline.ArtifactStoreMapProperty.Builder artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
CfnPipeline.ArtifactStoreMapProperty.getArtifactStore()
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
.
this
public CfnPipeline.ArtifactStoreMapProperty.Builder region(java.lang.String region)
CfnPipeline.ArtifactStoreMapProperty.getRegion()
region
- The action declaration's AWS Region, such as us-east-1. This parameter is required.this
public CfnPipeline.ArtifactStoreMapProperty build()
CfnPipeline.ArtifactStoreMapProperty
java.lang.NullPointerException
- if any required attribute was not provided