Class CfnPortfolioProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolioProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolioProps>
- Enclosing interface:
- CfnPortfolioProps
@Stability(Stable)
public static final class CfnPortfolioProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortfolioProps>
A builder for
CfnPortfolioProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) Sets the value ofCfnPortfolioProps.getAcceptLanguage()build()Builds the configured instance.description(String description) Sets the value ofCfnPortfolioProps.getDescription()displayName(String displayName) Sets the value ofCfnPortfolioProps.getDisplayName()providerName(String providerName) Sets the value ofCfnPortfolioProps.getProviderName()Sets the value ofCfnPortfolioProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnPortfolioProps.getDisplayName()- Parameters:
displayName- The name to use for display purposes. This parameter is required.- Returns:
this
-
providerName
Sets the value ofCfnPortfolioProps.getProviderName()- Parameters:
providerName- The name of the portfolio provider. This parameter is required.- Returns:
this
-
acceptLanguage
Sets the value ofCfnPortfolioProps.getAcceptLanguage()- Parameters:
acceptLanguage- The language code.jp- Japanesezh- Chinese
- Returns:
this
-
description
Sets the value ofCfnPortfolioProps.getDescription()- Parameters:
description- The description of the portfolio.- Returns:
this
-
tags
Sets the value ofCfnPortfolioProps.getTags()- Parameters:
tags- One or more tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPortfolioProps>- Returns:
- a new instance of
CfnPortfolioProps - Throws:
NullPointerException- if any required attribute was not provided
-