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