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