Class PortfolioShareReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.servicecatalog.PortfolioShareReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PortfolioShareReference>
- Enclosing interface:
PortfolioShareReference
@Stability(Stable)
public static final class PortfolioShareReference.Builder
extends Object
implements software.amazon.jsii.Builder<PortfolioShareReference>
A builder for
PortfolioShareReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofPortfolioShareReference.getAccountId()build()Builds the configured instance.portfolioId(String portfolioId) Sets the value ofPortfolioShareReference.getPortfolioId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofPortfolioShareReference.getAccountId()- Parameters:
accountId- The AccountId of the PortfolioShare resource. This parameter is required.- Returns:
this
-
portfolioId
Sets the value ofPortfolioShareReference.getPortfolioId()- Parameters:
portfolioId- The PortfolioId of the PortfolioShare resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PortfolioShareReference>- Returns:
- a new instance of
PortfolioShareReference - Throws:
NullPointerException- if any required attribute was not provided
-