Package software.amazon.awscdk.core
Class CliCredentialsStackSynthesizerProps.Builder
java.lang.Object
software.amazon.awscdk.core.CliCredentialsStackSynthesizerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CliCredentialsStackSynthesizerProps>
- Enclosing interface:
CliCredentialsStackSynthesizerProps
@Stability(Stable)
public static final class CliCredentialsStackSynthesizerProps.Builder
extends Object
implements software.amazon.jsii.Builder<CliCredentialsStackSynthesizerProps>
A builder for
CliCredentialsStackSynthesizerProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketPrefix
(String bucketPrefix) Sets the value ofCliCredentialsStackSynthesizerProps.getBucketPrefix()
build()
Builds the configured instance.dockerTagPrefix
(String dockerTagPrefix) Sets the value ofCliCredentialsStackSynthesizerProps.getDockerTagPrefix()
fileAssetsBucketName
(String fileAssetsBucketName) Sets the value ofCliCredentialsStackSynthesizerProps.getFileAssetsBucketName()
imageAssetsRepositoryName
(String imageAssetsRepositoryName) Sets the value ofCliCredentialsStackSynthesizerProps.getImageAssetsRepositoryName()
Sets the value ofCliCredentialsStackSynthesizerProps.getQualifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketPrefix
@Stability(Stable) public CliCredentialsStackSynthesizerProps.Builder bucketPrefix(String bucketPrefix) Sets the value ofCliCredentialsStackSynthesizerProps.getBucketPrefix()
- Parameters:
bucketPrefix
- bucketPrefix to use while storing S3 Assets.- Returns:
this
-
dockerTagPrefix
@Stability(Stable) public CliCredentialsStackSynthesizerProps.Builder dockerTagPrefix(String dockerTagPrefix) Sets the value ofCliCredentialsStackSynthesizerProps.getDockerTagPrefix()
- Parameters:
dockerTagPrefix
- A prefix to use while tagging and uploading Docker images to ECR. This does not add any separators - the source hash will be appended to this string directly.- Returns:
this
-
fileAssetsBucketName
@Stability(Stable) public CliCredentialsStackSynthesizerProps.Builder fileAssetsBucketName(String fileAssetsBucketName) Sets the value ofCliCredentialsStackSynthesizerProps.getFileAssetsBucketName()
- Parameters:
fileAssetsBucketName
- Name of the S3 bucket to hold file assets. You must supply this if you have given a non-standard name to the staging bucket.The placeholders
${Qualifier}
,${AWS::AccountId}
and${AWS::Region}
will be replaced with the values of qualifier and the stack's account and region, respectively.- Returns:
this
-
imageAssetsRepositoryName
@Stability(Stable) public CliCredentialsStackSynthesizerProps.Builder imageAssetsRepositoryName(String imageAssetsRepositoryName) Sets the value ofCliCredentialsStackSynthesizerProps.getImageAssetsRepositoryName()
- Parameters:
imageAssetsRepositoryName
- Name of the ECR repository to hold Docker Image assets. You must supply this if you have given a non-standard name to the ECR repository.The placeholders
${Qualifier}
,${AWS::AccountId}
and${AWS::Region}
will be replaced with the values of qualifier and the stack's account and region, respectively.- Returns:
this
-
qualifier
Sets the value ofCliCredentialsStackSynthesizerProps.getQualifier()
- Parameters:
qualifier
- Qualifier to disambiguate multiple environments in the same account. You can use this and leave the other naming properties empty if you have deployed the bootstrap environment with standard names but only differnet qualifiers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CliCredentialsStackSynthesizerProps>
- Returns:
- a new instance of
CliCredentialsStackSynthesizerProps
- Throws:
NullPointerException
- if any required attribute was not provided
-