@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FulfillmentStartResponseSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
Constructor and Description |
---|
FulfillmentStartResponseSpecification() |
Modifier and Type | Method and Description |
---|---|
FulfillmentStartResponseSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowInterrupt()
Determines whether the user can interrupt the start message while it is playing.
|
Integer |
getDelayInSeconds()
The delay between when the Lambda fulfillment function starts running and the start message is played.
|
List<MessageGroup> |
getMessageGroups()
1 - 5 message groups that contain start messages.
|
int |
hashCode() |
Boolean |
isAllowInterrupt()
Determines whether the user can interrupt the start message while it is playing.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
|
void |
setDelayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played.
|
void |
setMessageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages.
|
String |
toString()
Returns a string representation of this object.
|
FulfillmentStartResponseSpecification |
withAllowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
|
FulfillmentStartResponseSpecification |
withDelayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played.
|
FulfillmentStartResponseSpecification |
withMessageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages.
|
FulfillmentStartResponseSpecification |
withMessageGroups(MessageGroup... messageGroups)
1 - 5 message groups that contain start messages.
|
public FulfillmentStartResponseSpecification()
public void setDelayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
delayInSeconds
- The delay between when the Lambda fulfillment function starts running and the start message is played. If
the Lambda function returns before the delay is over, the start message isn't played.public Integer getDelayInSeconds()
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
public FulfillmentStartResponseSpecification withDelayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
delayInSeconds
- The delay between when the Lambda fulfillment function starts running and the start message is played. If
the Lambda function returns before the delay is over, the start message isn't played.public List<MessageGroup> getMessageGroups()
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
public void setMessageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups
- 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the
user.public FulfillmentStartResponseSpecification withMessageGroups(MessageGroup... messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
NOTE: This method appends the values to the existing list (if any). Use
setMessageGroups(java.util.Collection)
or withMessageGroups(java.util.Collection)
if you want
to override the existing values.
messageGroups
- 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the
user.public FulfillmentStartResponseSpecification withMessageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups
- 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the
user.public void setAllowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
allowInterrupt
- Determines whether the user can interrupt the start message while it is playing.public Boolean getAllowInterrupt()
Determines whether the user can interrupt the start message while it is playing.
public FulfillmentStartResponseSpecification withAllowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
allowInterrupt
- Determines whether the user can interrupt the start message while it is playing.public Boolean isAllowInterrupt()
Determines whether the user can interrupt the start message while it is playing.
public String toString()
toString
in class Object
Object.toString()
public FulfillmentStartResponseSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.