@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.417Z") @Stability(value=Stable) public class CfnBotVersion extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
CfnBotVersion cfnBotVersion = CfnBotVersion.Builder.create(this, "MyCfnBotVersion")
.botId("botId")
.botVersionLocaleSpecification(List.of(BotVersionLocaleSpecificationProperty.builder()
.botVersionLocaleDetails(BotVersionLocaleDetailsProperty.builder()
.sourceBotVersion("sourceBotVersion")
.build())
.localeId("localeId")
.build()))
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnBotVersion.BotVersionLocaleDetailsProperty
Example:
|
static interface |
CfnBotVersion.BotVersionLocaleSpecificationProperty
Example:
|
static class |
CfnBotVersion.Builder
A fluent builder for
CfnBotVersion. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnBotVersion(software.constructs.Construct scope,
String id,
CfnBotVersionProps props)
Create a new `AWS::Lex::BotVersion`.
|
protected |
CfnBotVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnBotVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrBotVersion() |
String |
getBotId()
`AWS::Lex::BotVersion.BotId`.
|
Object |
getBotVersionLocaleSpecification()
`AWS::Lex::BotVersion.BotVersionLocaleSpecification`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::Lex::BotVersion.Description`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBotId(String value)
`AWS::Lex::BotVersion.BotId`.
|
void |
setBotVersionLocaleSpecification(IResolvable value)
`AWS::Lex::BotVersion.BotVersionLocaleSpecification`.
|
void |
setBotVersionLocaleSpecification(List<Object> value)
`AWS::Lex::BotVersion.BotVersionLocaleSpecification`.
|
void |
setDescription(String value)
`AWS::Lex::BotVersion.Description`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnBotVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnBotVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnBotVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnBotVersionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrBotVersion()
@Stability(value=Stable) @NotNull public String getBotId()
@Stability(value=Stable)
public void setBotId(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getBotVersionLocaleSpecification()
@Stability(value=Stable)
public void setBotVersionLocaleSpecification(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setBotVersionLocaleSpecification(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2021. All rights reserved.