Class CfnPortfolioShare.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolioShare.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolioShare>
- Enclosing class:
CfnPortfolioShare
@Stability(Stable)
public static final class CfnPortfolioShare.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortfolioShare>
A fluent builder for
CfnPortfolioShare
.-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.The AWS account ID.build()
static CfnPortfolioShare.Builder
portfolioId
(String portfolioId) The portfolio identifier.shareTagOptions
(Boolean shareTagOptions) Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.shareTagOptions
(IResolvable shareTagOptions) Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
-
Method Details
-
create
@Stability(Stable) public static CfnPortfolioShare.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPortfolioShare.Builder
.
-
accountId
The AWS account ID.For example,
123456789012
.- Parameters:
accountId
- The AWS account ID. This parameter is required.- Returns:
this
- See Also:
-
portfolioId
The portfolio identifier.- Parameters:
portfolioId
- The portfolio identifier. This parameter is required.- Returns:
this
- See Also:
-
acceptLanguage
The language code.jp
- Japanesezh
- Chinese
- Parameters:
acceptLanguage
- The language code. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPortfolioShare>
- Returns:
- a newly built instance of
CfnPortfolioShare
.
-