@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeHook extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..
Constructor and Description |
---|
CodeHook() |
Modifier and Type | Method and Description |
---|---|
CodeHook |
clone() |
boolean |
equals(Object obj) |
String |
getMessageVersion()
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
|
String |
getUri()
The Amazon Resource Name (ARN) of the Lambda function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessageVersion(String messageVersion)
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
|
void |
setUri(String uri)
The Amazon Resource Name (ARN) of the Lambda function.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CodeHook |
withMessageVersion(String messageVersion)
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
|
CodeHook |
withUri(String uri)
The Amazon Resource Name (ARN) of the Lambda function.
|
public void setUri(String uri)
The Amazon Resource Name (ARN) of the Lambda function.
uri
- The Amazon Resource Name (ARN) of the Lambda function.public String getUri()
The Amazon Resource Name (ARN) of the Lambda function.
public CodeHook withUri(String uri)
The Amazon Resource Name (ARN) of the Lambda function.
uri
- The Amazon Resource Name (ARN) of the Lambda function.public void setMessageVersion(String messageVersion)
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda.
messageVersion
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For
more information, see using-lambda.public String getMessageVersion()
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda.
public CodeHook withMessageVersion(String messageVersion)
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see using-lambda.
messageVersion
- The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For
more information, see using-lambda.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.