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