Class CloudFormationProduct.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CloudFormationProduct.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudFormationProduct>
- Enclosing class:
CloudFormationProduct
@Stability(Stable)
public static final class CloudFormationProduct.Builder
extends Object
implements software.amazon.jsii.Builder<CloudFormationProduct>
A fluent builder for
CloudFormationProduct
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the product.distributor
(String distributor) The distributor of the product.messageLanguage
(MessageLanguage messageLanguage) The language code.The owner of the product.productName
(String productName) The name of the product.productVersions
(List<? extends CloudFormationProductVersion> productVersions) The configuration of the product version.replaceProductVersionIds
(Boolean replaceProductVersionIds) Whether to give provisioning artifacts a new unique identifier when the product attributes or provisioning artifacts is updated.supportDescription
(String supportDescription) The support information about the product.supportEmail
(String supportEmail) The contact email for product support.supportUrl
(String supportUrl) The contact URL for product support.tagOptions
(TagOptions tagOptions) TagOptions associated directly to a product.
-
Method Details
-
create
@Stability(Stable) public static CloudFormationProduct.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
CloudFormationProduct.Builder
.
-
owner
The owner of the product.- Parameters:
owner
- The owner of the product. This parameter is required.- Returns:
this
-
productName
The name of the product.- Parameters:
productName
- The name of the product. This parameter is required.- Returns:
this
-
productVersions
@Stability(Stable) public CloudFormationProduct.Builder productVersions(List<? extends CloudFormationProductVersion> productVersions) The configuration of the product version.- Parameters:
productVersions
- The configuration of the product version. This parameter is required.- Returns:
this
-
description
The description of the product.Default: - No description provided
- Parameters:
description
- The description of the product. This parameter is required.- Returns:
this
-
distributor
The distributor of the product.Default: - No distributor provided
- Parameters:
distributor
- The distributor of the product. This parameter is required.- Returns:
this
-
messageLanguage
@Stability(Stable) public CloudFormationProduct.Builder messageLanguage(MessageLanguage messageLanguage) The language code.Controls language for logging and errors.
Default: - English
- Parameters:
messageLanguage
- The language code. This parameter is required.- Returns:
this
-
replaceProductVersionIds
@Stability(Stable) public CloudFormationProduct.Builder replaceProductVersionIds(Boolean replaceProductVersionIds) Whether to give provisioning artifacts a new unique identifier when the product attributes or provisioning artifacts is updated.Default: false
- Parameters:
replaceProductVersionIds
- Whether to give provisioning artifacts a new unique identifier when the product attributes or provisioning artifacts is updated. This parameter is required.- Returns:
this
-
supportDescription
@Stability(Stable) public CloudFormationProduct.Builder supportDescription(String supportDescription) The support information about the product.Default: - No support description provided
- Parameters:
supportDescription
- The support information about the product. This parameter is required.- Returns:
this
-
supportEmail
The contact email for product support.Default: - No support email provided
- Parameters:
supportEmail
- The contact email for product support. This parameter is required.- Returns:
this
-
supportUrl
The contact URL for product support.Default: - No support URL provided
- Parameters:
supportUrl
- The contact URL for product support. This parameter is required.- Returns:
this
-
tagOptions
TagOptions associated directly to a product.Default: - No tagOptions provided
- Parameters:
tagOptions
- TagOptions associated directly to a product. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudFormationProduct>
- Returns:
- a newly built instance of
CloudFormationProduct
.
-