Class CfnPortfolioProductAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolioProductAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolioProductAssociation>
- Enclosing class:
- CfnPortfolioProductAssociation
@Stability(Stable)
public static final class CfnPortfolioProductAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortfolioProductAssociation>
A fluent builder for
CfnPortfolioProductAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.build()
portfolioId
(String portfolioId) The portfolio identifier.The product identifier.sourcePortfolioId
(String sourcePortfolioId) The identifier of the source portfolio.
-
Method Details
-
create
@Stability(Stable) public static CfnPortfolioProductAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPortfolioProductAssociation.Builder
.
-
portfolioId
The portfolio identifier.- Parameters:
portfolioId
- The portfolio identifier. This parameter is required.- Returns:
this
-
productId
The product identifier.- Parameters:
productId
- The product identifier. This parameter is required.- Returns:
this
-
acceptLanguage
@Stability(Stable) public CfnPortfolioProductAssociation.Builder acceptLanguage(String acceptLanguage) The language code.jp
- Japanesezh
- Chinese
- Parameters:
acceptLanguage
- The language code. This parameter is required.- Returns:
this
-
sourcePortfolioId
@Stability(Stable) public CfnPortfolioProductAssociation.Builder sourcePortfolioId(String sourcePortfolioId) The identifier of the source portfolio.- Parameters:
sourcePortfolioId
- The identifier of the source portfolio. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPortfolioProductAssociation>
- Returns:
- a newly built instance of
CfnPortfolioProductAssociation
.
-