Class CloudFormationTemplateConfig.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CloudFormationTemplateConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudFormationTemplateConfig>
- Enclosing interface:
CloudFormationTemplateConfig
@Stability(Stable)
public static final class CloudFormationTemplateConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CloudFormationTemplateConfig>
A builder for
CloudFormationTemplateConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetBucket
(IBucket assetBucket) Sets the value ofCloudFormationTemplateConfig.getAssetBucket()
build()
Builds the configured instance.Sets the value ofCloudFormationTemplateConfig.getHttpUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpUrl
Sets the value ofCloudFormationTemplateConfig.getHttpUrl()
- Parameters:
httpUrl
- The http url of the template in S3. This parameter is required.- Returns:
this
-
assetBucket
Sets the value ofCloudFormationTemplateConfig.getAssetBucket()
- Parameters:
assetBucket
- The S3 bucket containing product stack assets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudFormationTemplateConfig>
- Returns:
- a new instance of
CloudFormationTemplateConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-