@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LexFlowNodeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for a Lex node in the flow. You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
Constructor and Description |
---|
LexFlowNodeConfiguration() |
Modifier and Type | Method and Description |
---|---|
LexFlowNodeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBotAliasArn()
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
|
String |
getLocaleId()
The Region to invoke the Amazon Lex bot in.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotAliasArn(String botAliasArn)
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
|
void |
setLocaleId(String localeId)
The Region to invoke the Amazon Lex bot in.
|
String |
toString()
Returns a string representation of this object.
|
LexFlowNodeConfiguration |
withBotAliasArn(String botAliasArn)
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
|
LexFlowNodeConfiguration |
withLocaleId(String localeId)
The Region to invoke the Amazon Lex bot in.
|
public void setBotAliasArn(String botAliasArn)
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
botAliasArn
- The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.public String getBotAliasArn()
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
public LexFlowNodeConfiguration withBotAliasArn(String botAliasArn)
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
botAliasArn
- The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.public void setLocaleId(String localeId)
The Region to invoke the Amazon Lex bot in.
localeId
- The Region to invoke the Amazon Lex bot in.public String getLocaleId()
The Region to invoke the Amazon Lex bot in.
public LexFlowNodeConfiguration withLocaleId(String localeId)
The Region to invoke the Amazon Lex bot in.
localeId
- The Region to invoke the Amazon Lex bot in.public String toString()
toString
in class Object
Object.toString()
public LexFlowNodeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.