Class PortfolioShareOptions.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.PortfolioShareOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PortfolioShareOptions>
- Enclosing interface:
- PortfolioShareOptions
@Stability(Stable)
public static final class PortfolioShareOptions.Builder
extends Object
implements software.amazon.jsii.Builder<PortfolioShareOptions>
A builder for
PortfolioShareOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.messageLanguage
(MessageLanguage messageLanguage) Sets the value ofPortfolioShareOptions.getMessageLanguage()
shareTagOptions
(Boolean shareTagOptions) Sets the value ofPortfolioShareOptions.getShareTagOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
messageLanguage
@Stability(Stable) public PortfolioShareOptions.Builder messageLanguage(MessageLanguage messageLanguage) Sets the value ofPortfolioShareOptions.getMessageLanguage()
- Parameters:
messageLanguage
- The message language of the share. Controls status and error message language for share.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PortfolioShareOptions>
- Returns:
- a new instance of
PortfolioShareOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-