Class CfnPortalProductProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnPortalProductProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortalProductProps>
- Enclosing interface:
CfnPortalProductProps
@Stability(Stable)
public static final class CfnPortalProductProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortalProductProps>
A builder for
CfnPortalProductProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPortalProductProps.getDescription()displayName(String displayName) Sets the value ofCfnPortalProductProps.getDisplayName()Sets the value ofCfnPortalProductProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnPortalProductProps.getDisplayName()- Parameters:
displayName- The name of the portal product as it appears in a published portal. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnPortalProductProps.getDescription()- Parameters:
description- A description of the portal product.- Returns:
this
-
tags
Sets the value ofCfnPortalProductProps.getTags()- Parameters:
tags- The collection of tags associated with the portal product.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPortalProductProps>- Returns:
- a new instance of
CfnPortalProductProps - Throws:
NullPointerException- if any required attribute was not provided
-