Class CfnSkillMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.alexa.ask.CfnSkillMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSkillMixinProps>
- Enclosing interface:
CfnSkillMixinProps
@Stability(Stable)
public static final class CfnSkillMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSkillMixinProps>
A builder for
CfnSkillMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationConfiguration(CfnSkillPropsMixin.AuthenticationConfigurationProperty authenticationConfiguration) Sets the value ofCfnSkillMixinProps.getAuthenticationConfiguration()authenticationConfiguration(IResolvable authenticationConfiguration) Sets the value ofCfnSkillMixinProps.getAuthenticationConfiguration()build()Builds the configured instance.skillPackage(CfnSkillPropsMixin.SkillPackageProperty skillPackage) Sets the value ofCfnSkillMixinProps.getSkillPackage()skillPackage(IResolvable skillPackage) Sets the value ofCfnSkillMixinProps.getSkillPackage()Sets the value ofCfnSkillMixinProps.getVendorId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationConfiguration
@Stability(Stable) public CfnSkillMixinProps.Builder authenticationConfiguration(IResolvable authenticationConfiguration) Sets the value ofCfnSkillMixinProps.getAuthenticationConfiguration()- Parameters:
authenticationConfiguration- Login with Amazon (LWA) configuration used to authenticate with the Alexa service. 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 CfnSkillMixinProps.Builder authenticationConfiguration(CfnSkillPropsMixin.AuthenticationConfigurationProperty authenticationConfiguration) Sets the value ofCfnSkillMixinProps.getAuthenticationConfiguration()- Parameters:
authenticationConfiguration- Login with Amazon (LWA) configuration used to authenticate with the Alexa service. Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.- Returns:
this
-
skillPackage
Sets the value ofCfnSkillMixinProps.getSkillPackage()- Parameters:
skillPackage- Configuration for the skill package that contains the components of the Alexa skill. 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 CfnSkillMixinProps.Builder skillPackage(CfnSkillPropsMixin.SkillPackageProperty skillPackage) Sets the value ofCfnSkillMixinProps.getSkillPackage()- Parameters:
skillPackage- Configuration for the skill package that contains the components of the Alexa skill. 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
Sets the value ofCfnSkillMixinProps.getVendorId()- Parameters:
vendorId- The vendor ID associated with the Amazon developer account that will host the skill. 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSkillMixinProps>- Returns:
- a new instance of
CfnSkillMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-