Class PortfolioProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.PortfolioProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PortfolioProps>
- Enclosing interface:
PortfolioProps
@Stability(Stable)
public static final class PortfolioProps.Builder
extends Object
implements software.amazon.jsii.Builder<PortfolioProps>
A builder for
PortfolioProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofPortfolioProps.getDescription()
displayName
(String displayName) Sets the value ofPortfolioProps.getDisplayName()
messageLanguage
(MessageLanguage messageLanguage) Sets the value ofPortfolioProps.getMessageLanguage()
providerName
(String providerName) Sets the value ofPortfolioProps.getProviderName()
tagOptions
(TagOptions tagOptions) Sets the value ofPortfolioProps.getTagOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofPortfolioProps.getDisplayName()
- Parameters:
displayName
- The name of the portfolio. This parameter is required.- Returns:
this
-
providerName
Sets the value ofPortfolioProps.getProviderName()
- Parameters:
providerName
- The provider name. This parameter is required.- Returns:
this
-
description
Sets the value ofPortfolioProps.getDescription()
- Parameters:
description
- Description for portfolio.- Returns:
this
-
messageLanguage
Sets the value ofPortfolioProps.getMessageLanguage()
- Parameters:
messageLanguage
- The message language. Controls language for status logging and errors.- Returns:
this
-
tagOptions
Sets the value ofPortfolioProps.getTagOptions()
- Parameters:
tagOptions
- TagOptions associated directly to a portfolio.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PortfolioProps>
- Returns:
- a new instance of
PortfolioProps
- Throws:
NullPointerException
- if any required attribute was not provided
-