@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.
Constructor and Description |
---|
EventsConfiguration() |
Modifier and Type | Method and Description |
---|---|
EventsConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The bot ID.
|
String |
getLambdaFunctionArn()
Lambda function ARN that allows a bot to receive outgoing events.
|
String |
getOutboundEventsHTTPSEndpoint()
HTTPS endpoint that allows a bot to receive outgoing events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotId(String botId)
The bot ID.
|
void |
setLambdaFunctionArn(String lambdaFunctionArn)
Lambda function ARN that allows a bot to receive outgoing events.
|
void |
setOutboundEventsHTTPSEndpoint(String outboundEventsHTTPSEndpoint)
HTTPS endpoint that allows a bot to receive outgoing events.
|
String |
toString()
Returns a string representation of this object.
|
EventsConfiguration |
withBotId(String botId)
The bot ID.
|
EventsConfiguration |
withLambdaFunctionArn(String lambdaFunctionArn)
Lambda function ARN that allows a bot to receive outgoing events.
|
EventsConfiguration |
withOutboundEventsHTTPSEndpoint(String outboundEventsHTTPSEndpoint)
HTTPS endpoint that allows a bot to receive outgoing events.
|
public void setBotId(String botId)
The bot ID.
botId
- The bot ID.public String getBotId()
The bot ID.
public EventsConfiguration withBotId(String botId)
The bot ID.
botId
- The bot ID.public void setOutboundEventsHTTPSEndpoint(String outboundEventsHTTPSEndpoint)
HTTPS endpoint that allows a bot to receive outgoing events.
outboundEventsHTTPSEndpoint
- HTTPS endpoint that allows a bot to receive outgoing events.public String getOutboundEventsHTTPSEndpoint()
HTTPS endpoint that allows a bot to receive outgoing events.
public EventsConfiguration withOutboundEventsHTTPSEndpoint(String outboundEventsHTTPSEndpoint)
HTTPS endpoint that allows a bot to receive outgoing events.
outboundEventsHTTPSEndpoint
- HTTPS endpoint that allows a bot to receive outgoing events.public void setLambdaFunctionArn(String lambdaFunctionArn)
Lambda function ARN that allows a bot to receive outgoing events.
lambdaFunctionArn
- Lambda function ARN that allows a bot to receive outgoing events.public String getLambdaFunctionArn()
Lambda function ARN that allows a bot to receive outgoing events.
public EventsConfiguration withLambdaFunctionArn(String lambdaFunctionArn)
Lambda function ARN that allows a bot to receive outgoing events.
lambdaFunctionArn
- Lambda function ARN that allows a bot to receive outgoing events.public String toString()
toString
in class Object
Object.toString()
public EventsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.