Class CfnPortfolio.Builder

java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolio.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolio>
Enclosing class:
CfnPortfolio

@Stability(Stable) public static final class CfnPortfolio.Builder extends Object implements software.amazon.jsii.Builder<CfnPortfolio>
A fluent builder for CfnPortfolio.
  • Method Details

    • create

      @Stability(Stable) public static CfnPortfolio.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPortfolio.Builder.
    • displayName

      @Stability(Stable) public CfnPortfolio.Builder displayName(String displayName)
      The name to use for display purposes.

      Parameters:
      displayName - The name to use for display purposes. This parameter is required.
      Returns:
      this
    • providerName

      @Stability(Stable) public CfnPortfolio.Builder providerName(String providerName)
      The name of the portfolio provider.

      Parameters:
      providerName - The name of the portfolio provider. This parameter is required.
      Returns:
      this
    • acceptLanguage

      @Stability(Stable) public CfnPortfolio.Builder acceptLanguage(String acceptLanguage)
      The language code.

      • jp - Japanese
      • zh - Chinese

      Parameters:
      acceptLanguage - The language code. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnPortfolio.Builder description(String description)
      The description of the portfolio.

      Parameters:
      description - The description of the portfolio. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPortfolio.Builder tags(List<? extends CfnTag> tags)
      One or more tags.

      Parameters:
      tags - One or more tags. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnPortfolio build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPortfolio>
      Returns:
      a newly built instance of CfnPortfolio.