public static final class CfnCloudFormationProvisionedProductProps.Builder
extends java.lang.Object
CfnCloudFormationProvisionedProductProps
Constructor and Description |
---|
Builder() |
public CfnCloudFormationProvisionedProductProps.Builder acceptLanguage(java.lang.String acceptLanguage)
CfnCloudFormationProvisionedProductProps.getAcceptLanguage()
acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinesethis
public CfnCloudFormationProvisionedProductProps.Builder notificationArns(java.util.List<java.lang.String> notificationArns)
CfnCloudFormationProvisionedProductProps.getNotificationArns()
notificationArns
- Passed to AWS CloudFormation .
The SNS topic ARNs to which to publish stack-related events.this
public CfnCloudFormationProvisionedProductProps.Builder pathId(java.lang.String pathId)
CfnCloudFormationProvisionedProductProps.getPathId()
pathId
- The path identifier of the product.
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder pathName(java.lang.String pathName)
CfnCloudFormationProvisionedProductProps.getPathName()
pathName
- The name of the path.
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder productId(java.lang.String productId)
CfnCloudFormationProvisionedProductProps.getProductId()
productId
- The product identifier.
You must specify either the ID or the name of the product, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder productName(java.lang.String productName)
CfnCloudFormationProvisionedProductProps.getProductName()
productName
- A user-friendly name for the provisioned product.
This value must be unique for the AWS account and cannot be updated after the product is provisioned.
Each time a stack is created or updated, if ProductName
is provided it will successfully resolve to ProductId
as long as only one product exists in the account or Region with that ProductName
.
You must specify either the name or the ID of the product, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder provisionedProductName(java.lang.String provisionedProductName)
CfnCloudFormationProvisionedProductProps.getProvisionedProductName()
provisionedProductName
- A user-friendly name for the provisioned product.
This value must be unique for the AWS account and cannot be updated after the product is provisioned.this
public CfnCloudFormationProvisionedProductProps.Builder provisioningArtifactId(java.lang.String provisioningArtifactId)
CfnCloudFormationProvisionedProductProps.getProvisioningArtifactId()
provisioningArtifactId
- The identifier of the provisioning artifact (also known as a version).
You must specify either the ID or the name of the provisioning artifact, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder provisioningArtifactName(java.lang.String provisioningArtifactName)
CfnCloudFormationProvisionedProductProps.getProvisioningArtifactName()
provisioningArtifactName
- The name of the provisioning artifact (also known as a version) for the product.
This name must be unique for the product.
You must specify either the name or the ID of the provisioning artifact, but not both. You must also specify either the name or the ID of the product, but not both.
this
public CfnCloudFormationProvisionedProductProps.Builder provisioningParameters(IResolvable provisioningParameters)
CfnCloudFormationProvisionedProductProps.getProvisioningParameters()
provisioningParameters
- Parameters specified by the administrator that are required for provisioning the product.this
public CfnCloudFormationProvisionedProductProps.Builder provisioningParameters(java.util.List<? extends java.lang.Object> provisioningParameters)
CfnCloudFormationProvisionedProductProps.getProvisioningParameters()
provisioningParameters
- Parameters specified by the administrator that are required for provisioning the product.this
public CfnCloudFormationProvisionedProductProps.Builder provisioningPreferences(IResolvable provisioningPreferences)
CfnCloudFormationProvisionedProductProps.getProvisioningPreferences()
provisioningPreferences
- StackSet preferences that are required for provisioning the product or updating a provisioned product.this
public CfnCloudFormationProvisionedProductProps.Builder provisioningPreferences(CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty provisioningPreferences)
CfnCloudFormationProvisionedProductProps.getProvisioningPreferences()
provisioningPreferences
- StackSet preferences that are required for provisioning the product or updating a provisioned product.this
public CfnCloudFormationProvisionedProductProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnCloudFormationProvisionedProductProps.getTags()
tags
- One or more tags.
Requires the provisioned product to have an ResourceUpdateConstraint resource with
TagUpdatesOnProvisionedProduct
set toALLOWED
to allow tag updates. IfRESOURCE_UPDATE
constraint is not present, tags updates are ignored.
this
public CfnCloudFormationProvisionedProductProps build()
CfnCloudFormationProvisionedProductProps
java.lang.NullPointerException
- if any required attribute was not provided