Class CloudFormationProductProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CloudFormationProductProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudFormationProductProps>
- Enclosing interface:
CloudFormationProductProps
@Stability(Stable)
public static final class CloudFormationProductProps.Builder
extends Object
implements software.amazon.jsii.Builder<CloudFormationProductProps>
A builder for
CloudFormationProductProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCloudFormationProductProps.getDescription()distributor(String distributor) Sets the value ofCloudFormationProductProps.getDistributor()messageLanguage(MessageLanguage messageLanguage) Sets the value ofCloudFormationProductProps.getMessageLanguage()Sets the value ofCloudFormationProductProps.getOwner()productName(String productName) Sets the value ofCloudFormationProductProps.getProductName()productVersions(List<? extends CloudFormationProductVersion> productVersions) Sets the value ofCloudFormationProductProps.getProductVersions()replaceProductVersionIds(Boolean replaceProductVersionIds) Sets the value ofCloudFormationProductProps.getReplaceProductVersionIds()supportDescription(String supportDescription) Sets the value ofCloudFormationProductProps.getSupportDescription()supportEmail(String supportEmail) Sets the value ofCloudFormationProductProps.getSupportEmail()supportUrl(String supportUrl) Sets the value ofCloudFormationProductProps.getSupportUrl()tagOptions(TagOptions tagOptions) Sets the value ofCloudFormationProductProps.getTagOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
owner
Sets the value ofCloudFormationProductProps.getOwner()- Parameters:
owner- The owner of the product. This parameter is required.- Returns:
this
-
productName
Sets the value ofCloudFormationProductProps.getProductName()- Parameters:
productName- The name of the product. This parameter is required.- Returns:
this
-
productVersions
@Stability(Stable) public CloudFormationProductProps.Builder productVersions(List<? extends CloudFormationProductVersion> productVersions) Sets the value ofCloudFormationProductProps.getProductVersions()- Parameters:
productVersions- The configuration of the product version. This parameter is required.- Returns:
this
-
description
Sets the value ofCloudFormationProductProps.getDescription()- Parameters:
description- The description of the product.- Returns:
this
-
distributor
Sets the value ofCloudFormationProductProps.getDistributor()- Parameters:
distributor- The distributor of the product.- Returns:
this
-
messageLanguage
@Stability(Stable) public CloudFormationProductProps.Builder messageLanguage(MessageLanguage messageLanguage) Sets the value ofCloudFormationProductProps.getMessageLanguage()- Parameters:
messageLanguage- The language code. Controls language for logging and errors.- Returns:
this
-
replaceProductVersionIds
@Stability(Stable) public CloudFormationProductProps.Builder replaceProductVersionIds(Boolean replaceProductVersionIds) Sets the value ofCloudFormationProductProps.getReplaceProductVersionIds()- Parameters:
replaceProductVersionIds- Whether to give provisioning artifacts a new unique identifier when the product attributes or provisioning artifacts is updated.- Returns:
this
-
supportDescription
@Stability(Stable) public CloudFormationProductProps.Builder supportDescription(String supportDescription) Sets the value ofCloudFormationProductProps.getSupportDescription()- Parameters:
supportDescription- The support information about the product.- Returns:
this
-
supportEmail
Sets the value ofCloudFormationProductProps.getSupportEmail()- Parameters:
supportEmail- The contact email for product support.- Returns:
this
-
supportUrl
Sets the value ofCloudFormationProductProps.getSupportUrl()- Parameters:
supportUrl- The contact URL for product support.- Returns:
this
-
tagOptions
Sets the value ofCloudFormationProductProps.getTagOptions()- Parameters:
tagOptions- TagOptions associated directly to a product.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudFormationProductProps>- Returns:
- a new instance of
CloudFormationProductProps - Throws:
NullPointerException- if any required attribute was not provided
-