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