Class CfnCloudFormationProductProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProductProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudFormationProductProps>
- Enclosing interface:
CfnCloudFormationProductProps
@Stability(Stable)
public static final class CfnCloudFormationProductProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudFormationProductProps>
A builder for
CfnCloudFormationProductProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) Sets the value ofCfnCloudFormationProductProps.getAcceptLanguage()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnCloudFormationProductProps.getDescription()
distributor
(String distributor) Sets the value ofCfnCloudFormationProductProps.getDistributor()
Sets the value ofCfnCloudFormationProductProps.getName()
Sets the value ofCfnCloudFormationProductProps.getOwner()
productType
(String productType) Sets the value ofCfnCloudFormationProductProps.getProductType()
provisioningArtifactParameters
(List<? extends Object> provisioningArtifactParameters) Sets the value ofCfnCloudFormationProductProps.getProvisioningArtifactParameters()
provisioningArtifactParameters
(IResolvable provisioningArtifactParameters) Sets the value ofCfnCloudFormationProductProps.getProvisioningArtifactParameters()
replaceProvisioningArtifacts
(Boolean replaceProvisioningArtifacts) Sets the value ofCfnCloudFormationProductProps.getReplaceProvisioningArtifacts()
replaceProvisioningArtifacts
(IResolvable replaceProvisioningArtifacts) Sets the value ofCfnCloudFormationProductProps.getReplaceProvisioningArtifacts()
sourceConnection
(IResolvable sourceConnection) Sets the value ofCfnCloudFormationProductProps.getSourceConnection()
sourceConnection
(CfnCloudFormationProduct.SourceConnectionProperty sourceConnection) Sets the value ofCfnCloudFormationProductProps.getSourceConnection()
supportDescription
(String supportDescription) Sets the value ofCfnCloudFormationProductProps.getSupportDescription()
supportEmail
(String supportEmail) Sets the value ofCfnCloudFormationProductProps.getSupportEmail()
supportUrl
(String supportUrl) Sets the value ofCfnCloudFormationProductProps.getSupportUrl()
Sets the value ofCfnCloudFormationProductProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnCloudFormationProductProps.getName()
- Parameters:
name
- The name of the product. This parameter is required.- Returns:
this
-
owner
Sets the value ofCfnCloudFormationProductProps.getOwner()
- Parameters:
owner
- The owner of the product. This parameter is required.- Returns:
this
-
acceptLanguage
@Stability(Stable) public CfnCloudFormationProductProps.Builder acceptLanguage(String acceptLanguage) Sets the value ofCfnCloudFormationProductProps.getAcceptLanguage()
- Parameters:
acceptLanguage
- The language code.jp
- Japanesezh
- Chinese
- Returns:
this
-
description
Sets the value ofCfnCloudFormationProductProps.getDescription()
- Parameters:
description
- The description of the product.- Returns:
this
-
distributor
Sets the value ofCfnCloudFormationProductProps.getDistributor()
- Parameters:
distributor
- The distributor of the product.- Returns:
this
-
productType
Sets the value ofCfnCloudFormationProductProps.getProductType()
- Parameters:
productType
- The type of product.- Returns:
this
-
provisioningArtifactParameters
@Stability(Stable) public CfnCloudFormationProductProps.Builder provisioningArtifactParameters(IResolvable provisioningArtifactParameters) Sets the value ofCfnCloudFormationProductProps.getProvisioningArtifactParameters()
- Parameters:
provisioningArtifactParameters
- The configuration of the provisioning artifact (also known as a version).- Returns:
this
-
provisioningArtifactParameters
@Stability(Stable) public CfnCloudFormationProductProps.Builder provisioningArtifactParameters(List<? extends Object> provisioningArtifactParameters) Sets the value ofCfnCloudFormationProductProps.getProvisioningArtifactParameters()
- Parameters:
provisioningArtifactParameters
- The configuration of the provisioning artifact (also known as a version).- Returns:
this
-
replaceProvisioningArtifacts
@Stability(Stable) public CfnCloudFormationProductProps.Builder replaceProvisioningArtifacts(Boolean replaceProvisioningArtifacts) Sets the value ofCfnCloudFormationProductProps.getReplaceProvisioningArtifacts()
- Parameters:
replaceProvisioningArtifacts
- This property is turned off by default. If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.If turned on, provisioning artifacts will be given a new unique identifier when you update the product or provisioning artifacts.
- Returns:
this
-
replaceProvisioningArtifacts
@Stability(Stable) public CfnCloudFormationProductProps.Builder replaceProvisioningArtifacts(IResolvable replaceProvisioningArtifacts) Sets the value ofCfnCloudFormationProductProps.getReplaceProvisioningArtifacts()
- Parameters:
replaceProvisioningArtifacts
- This property is turned off by default. If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.If turned on, provisioning artifacts will be given a new unique identifier when you update the product or provisioning artifacts.
- Returns:
this
-
sourceConnection
@Stability(Stable) public CfnCloudFormationProductProps.Builder sourceConnection(IResolvable sourceConnection) Sets the value ofCfnCloudFormationProductProps.getSourceConnection()
- Parameters:
sourceConnection
- A top levelProductViewDetail
response containing details about the product’s connection. AWS Service Catalog returns this field for theCreateProduct
,UpdateProduct
,DescribeProductAsAdmin
, andSearchProductAsAdmin
APIs. This response contains the same fields as theConnectionParameters
request, with the addition of theLastSync
response.- Returns:
this
-
sourceConnection
@Stability(Stable) public CfnCloudFormationProductProps.Builder sourceConnection(CfnCloudFormationProduct.SourceConnectionProperty sourceConnection) Sets the value ofCfnCloudFormationProductProps.getSourceConnection()
- Parameters:
sourceConnection
- A top levelProductViewDetail
response containing details about the product’s connection. AWS Service Catalog returns this field for theCreateProduct
,UpdateProduct
,DescribeProductAsAdmin
, andSearchProductAsAdmin
APIs. This response contains the same fields as theConnectionParameters
request, with the addition of theLastSync
response.- Returns:
this
-
supportDescription
@Stability(Stable) public CfnCloudFormationProductProps.Builder supportDescription(String supportDescription) Sets the value ofCfnCloudFormationProductProps.getSupportDescription()
- Parameters:
supportDescription
- The support information about the product.- Returns:
this
-
supportEmail
Sets the value ofCfnCloudFormationProductProps.getSupportEmail()
- Parameters:
supportEmail
- The contact email for product support.- Returns:
this
-
supportUrl
Sets the value ofCfnCloudFormationProductProps.getSupportUrl()
- Parameters:
supportUrl
- The contact URL for product support.^https?:\/\//
/ is the pattern used to validate SupportUrl.- Returns:
this
-
tags
Sets the value ofCfnCloudFormationProductProps.getTags()
- Parameters:
tags
- One or more tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudFormationProductProps>
- Returns:
- a new instance of
CfnCloudFormationProductProps
- Throws:
NullPointerException
- if any required attribute was not provided
-