Class CfnCloudFormationProduct.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudFormationProduct>
- Enclosing class:
CfnCloudFormationProduct
CfnCloudFormationProduct
.-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.build()
description
(String description) The description of the product.distributor
(String distributor) The distributor of the product.The name of the product.The owner of the product.productType
(String productType) The type of product.provisioningArtifactParameters
(List<? extends Object> provisioningArtifactParameters) The configuration of the provisioning artifact (also known as a version).provisioningArtifactParameters
(IResolvable provisioningArtifactParameters) The configuration of the provisioning artifact (also known as a version).replaceProvisioningArtifacts
(Boolean replaceProvisioningArtifacts) This property is turned off by default.replaceProvisioningArtifacts
(IResolvable replaceProvisioningArtifacts) This property is turned off by default.sourceConnection
(IResolvable sourceConnection) A top levelProductViewDetail
response containing details about the product’s connection.sourceConnection
(CfnCloudFormationProduct.SourceConnectionProperty sourceConnection) A top levelProductViewDetail
response containing details about the product’s connection.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.One or more tags.
-
Method Details
-
create
@Stability(Stable) public static CfnCloudFormationProduct.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCloudFormationProduct.Builder
.
-
name
The name of the product.- Parameters:
name
- The name of the product. This parameter is required.- Returns:
this
- See Also:
-
owner
The owner of the product.- Parameters:
owner
- The owner of the product. This parameter is required.- Returns:
this
- See Also:
-
acceptLanguage
The language code.jp
- Japanesezh
- Chinese
- Parameters:
acceptLanguage
- The language code. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the product.- Parameters:
description
- The description of the product. This parameter is required.- Returns:
this
- See Also:
-
distributor
The distributor of the product.- Parameters:
distributor
- The distributor of the product. This parameter is required.- Returns:
this
- See Also:
-
productType
The type of product.- Parameters:
productType
- The type of product. This parameter is required.- Returns:
this
- See Also:
-
provisioningArtifactParameters
@Stability(Stable) public CfnCloudFormationProduct.Builder provisioningArtifactParameters(IResolvable provisioningArtifactParameters) The configuration of the provisioning artifact (also known as a version).- Parameters:
provisioningArtifactParameters
- The configuration of the provisioning artifact (also known as a version). This parameter is required.- Returns:
this
- See Also:
-
provisioningArtifactParameters
@Stability(Stable) public CfnCloudFormationProduct.Builder provisioningArtifactParameters(List<? extends Object> provisioningArtifactParameters) The configuration of the provisioning artifact (also known as a version).- Parameters:
provisioningArtifactParameters
- The configuration of the provisioning artifact (also known as a version). This parameter is required.- Returns:
this
- See Also:
-
replaceProvisioningArtifacts
@Stability(Stable) public CfnCloudFormationProduct.Builder replaceProvisioningArtifacts(Boolean 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.
- Parameters:
replaceProvisioningArtifacts
- This property is turned off by default. This parameter is required.- Returns:
this
- See Also:
-
replaceProvisioningArtifacts
@Stability(Stable) public CfnCloudFormationProduct.Builder replaceProvisioningArtifacts(IResolvable 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.
- Parameters:
replaceProvisioningArtifacts
- This property is turned off by default. This parameter is required.- Returns:
this
- See Also:
-
sourceConnection
@Stability(Stable) public CfnCloudFormationProduct.Builder sourceConnection(IResolvable sourceConnection) A top levelProductViewDetail
response containing details about the product’s connection.AWS Service Catalog returns this field for the
CreateProduct
,UpdateProduct
,DescribeProductAsAdmin
, andSearchProductAsAdmin
APIs. This response contains the same fields as theConnectionParameters
request, with the addition of theLastSync
response.- Parameters:
sourceConnection
- A top levelProductViewDetail
response containing details about the product’s connection. This parameter is required.- Returns:
this
- See Also:
-
sourceConnection
@Stability(Stable) public CfnCloudFormationProduct.Builder sourceConnection(CfnCloudFormationProduct.SourceConnectionProperty sourceConnection) A top levelProductViewDetail
response containing details about the product’s connection.AWS Service Catalog returns this field for the
CreateProduct
,UpdateProduct
,DescribeProductAsAdmin
, andSearchProductAsAdmin
APIs. This response contains the same fields as theConnectionParameters
request, with the addition of theLastSync
response.- Parameters:
sourceConnection
- A top levelProductViewDetail
response containing details about the product’s connection. This parameter is required.- Returns:
this
- See Also:
-
supportDescription
@Stability(Stable) public CfnCloudFormationProduct.Builder supportDescription(String supportDescription) The support information about the product.- Parameters:
supportDescription
- The support information about the product. This parameter is required.- Returns:
this
- See Also:
-
supportEmail
The contact email for product support.- Parameters:
supportEmail
- The contact email for product support. This parameter is required.- Returns:
this
- See Also:
-
supportUrl
The contact URL for product support.^https?:\/\//
/ is the pattern used to validate SupportUrl.- Parameters:
supportUrl
- The contact URL for product support. This parameter is required.- Returns:
this
- See Also:
-
tags
One or more tags.- Parameters:
tags
- One or more tags. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudFormationProduct>
- Returns:
- a newly built instance of
CfnCloudFormationProduct
.
-