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