Class CfnSkillProps.Builder

java.lang.Object
software.amazon.awscdk.alexa.ask.CfnSkillProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSkillProps>
Enclosing interface:
CfnSkillProps

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

    • Builder

      public Builder()
  • Method Details

    • authenticationConfiguration

      @Stability(Stable) public CfnSkillProps.Builder authenticationConfiguration(CfnSkill.AuthenticationConfigurationProperty authenticationConfiguration)
      Parameters:
      authenticationConfiguration - Login with Amazon (LWA) configuration used to authenticate with the Alexa service. This parameter is required. Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.
      Returns:
      this
    • authenticationConfiguration

      @Stability(Stable) public CfnSkillProps.Builder authenticationConfiguration(IResolvable authenticationConfiguration)
      Parameters:
      authenticationConfiguration - Login with Amazon (LWA) configuration used to authenticate with the Alexa service. This parameter is required. Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.
      Returns:
      this
    • skillPackage

      @Stability(Stable) public CfnSkillProps.Builder skillPackage(IResolvable skillPackage)
      Parameters:
      skillPackage - Configuration for the skill package that contains the components of the Alexa skill. This parameter is required. Skill packages are retrieved from an Amazon S3 bucket and key and used to create and update the skill. For more information about the skill package format, see the .
      Returns:
      this
    • skillPackage

      @Stability(Stable) public CfnSkillProps.Builder skillPackage(CfnSkill.SkillPackageProperty skillPackage)
      Parameters:
      skillPackage - Configuration for the skill package that contains the components of the Alexa skill. This parameter is required. Skill packages are retrieved from an Amazon S3 bucket and key and used to create and update the skill. For more information about the skill package format, see the .
      Returns:
      this
    • vendorId

      @Stability(Stable) public CfnSkillProps.Builder vendorId(String vendorId)
      Sets the value of CfnSkillProps.getVendorId()
      Parameters:
      vendorId - The vendor ID associated with the Amazon developer account that will host the skill. This parameter is required. Details for retrieving the vendor ID are in . The provided LWA credentials must be linked to the developer account associated with this vendor ID.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSkillProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSkillProps>
      Returns:
      a new instance of CfnSkillProps
      Throws:
      NullPointerException - if any required attribute was not provided