Class CfnSkillPropsMixin.SkillPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.alexa.ask.CfnSkillPropsMixin.SkillPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSkillPropsMixin.SkillPackageProperty>
- Enclosing interface:
CfnSkillPropsMixin.SkillPackageProperty
@Stability(Stable)
public static final class CfnSkillPropsMixin.SkillPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSkillPropsMixin.SkillPackageProperty>
A builder for
CfnSkillPropsMixin.SkillPackageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.overrides(CfnSkillPropsMixin.OverridesProperty overrides) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getOverrides()overrides(IResolvable overrides) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getOverrides()Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3Bucket()s3BucketRole(String s3BucketRole) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3BucketRole()Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3Key()s3ObjectVersion(String s3ObjectVersion) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3ObjectVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
overrides
@Stability(Stable) public CfnSkillPropsMixin.SkillPackageProperty.Builder overrides(IResolvable overrides) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getOverrides()- Parameters:
overrides- Overrides to the skill package to apply when creating or updating the skill. Values provided here do not modify the contents of the original skill package. Currently, only overriding values inside of the skill manifest component of the package is supported.- Returns:
this
-
overrides
@Stability(Stable) public CfnSkillPropsMixin.SkillPackageProperty.Builder overrides(CfnSkillPropsMixin.OverridesProperty overrides) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getOverrides()- Parameters:
overrides- Overrides to the skill package to apply when creating or updating the skill. Values provided here do not modify the contents of the original skill package. Currently, only overriding values inside of the skill manifest component of the package is supported.- Returns:
this
-
s3Bucket
Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3Bucket()- Parameters:
s3Bucket- The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored.- Returns:
this
-
s3BucketRole
@Stability(Stable) public CfnSkillPropsMixin.SkillPackageProperty.Builder s3BucketRole(String s3BucketRole) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3BucketRole()- Parameters:
s3BucketRole- ARN of the IAM role that grants the Alexa service (alexa-appkit.amazon.com) permission to access the bucket and retrieve the skill package. This property is optional. If you do not provide it, the bucket must be publicly accessible or configured with a policy that allows this access. Otherwise, CloudFormation cannot create the skill.- Returns:
this
-
s3Key
Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3Key()- Parameters:
s3Key- The location and name of the skill package .zip file.- Returns:
this
-
s3ObjectVersion
@Stability(Stable) public CfnSkillPropsMixin.SkillPackageProperty.Builder s3ObjectVersion(String s3ObjectVersion) Sets the value ofCfnSkillPropsMixin.SkillPackageProperty.getS3ObjectVersion()- Parameters:
s3ObjectVersion- If you have S3 versioning enabled, the version ID of the skill package.zip file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSkillPropsMixin.SkillPackageProperty>- Returns:
- a new instance of
CfnSkillPropsMixin.SkillPackageProperty - Throws:
NullPointerException- if any required attribute was not provided
-