Class CfnPortfolioProductAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolioProductAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolioProductAssociationProps>
- Enclosing interface:
CfnPortfolioProductAssociationProps
@Stability(Stable)
public static final class CfnPortfolioProductAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortfolioProductAssociationProps>
A builder for
CfnPortfolioProductAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) Sets the value ofCfnPortfolioProductAssociationProps.getAcceptLanguage()
build()
Builds the configured instance.portfolioId
(String portfolioId) Sets the value ofCfnPortfolioProductAssociationProps.getPortfolioId()
Sets the value ofCfnPortfolioProductAssociationProps.getProductId()
sourcePortfolioId
(String sourcePortfolioId) Sets the value ofCfnPortfolioProductAssociationProps.getSourcePortfolioId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
portfolioId
@Stability(Stable) public CfnPortfolioProductAssociationProps.Builder portfolioId(String portfolioId) Sets the value ofCfnPortfolioProductAssociationProps.getPortfolioId()
- Parameters:
portfolioId
- The portfolio identifier. This parameter is required.- Returns:
this
-
productId
Sets the value ofCfnPortfolioProductAssociationProps.getProductId()
- Parameters:
productId
- The product identifier. This parameter is required.- Returns:
this
-
acceptLanguage
@Stability(Stable) public CfnPortfolioProductAssociationProps.Builder acceptLanguage(String acceptLanguage) Sets the value ofCfnPortfolioProductAssociationProps.getAcceptLanguage()
- Parameters:
acceptLanguage
- The language code.jp
- Japanesezh
- Chinese
- Returns:
this
-
sourcePortfolioId
@Stability(Stable) public CfnPortfolioProductAssociationProps.Builder sourcePortfolioId(String sourcePortfolioId) Sets the value ofCfnPortfolioProductAssociationProps.getSourcePortfolioId()
- Parameters:
sourcePortfolioId
- The identifier of the source portfolio.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPortfolioProductAssociationProps>
- Returns:
- a new instance of
CfnPortfolioProductAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-