@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FulfillmentUpdatesSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Provides information for updating the user on the progress of fulfilling an intent.
Constructor and Description |
---|
FulfillmentUpdatesSpecification() |
Modifier and Type | Method and Description |
---|---|
FulfillmentUpdatesSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
Determines whether fulfillment updates are sent to the user.
|
FulfillmentStartResponseSpecification |
getStartResponse()
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts
running.
|
Integer |
getTimeoutInSeconds()
The length of time that the fulfillment Lambda function should run before it times out.
|
FulfillmentUpdateResponseSpecification |
getUpdateResponse()
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda
function is running.
|
int |
hashCode() |
Boolean |
isActive()
Determines whether fulfillment updates are sent to the user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Determines whether fulfillment updates are sent to the user.
|
void |
setStartResponse(FulfillmentStartResponseSpecification startResponse)
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts
running.
|
void |
setTimeoutInSeconds(Integer timeoutInSeconds)
The length of time that the fulfillment Lambda function should run before it times out.
|
void |
setUpdateResponse(FulfillmentUpdateResponseSpecification updateResponse)
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda
function is running.
|
String |
toString()
Returns a string representation of this object.
|
FulfillmentUpdatesSpecification |
withActive(Boolean active)
Determines whether fulfillment updates are sent to the user.
|
FulfillmentUpdatesSpecification |
withStartResponse(FulfillmentStartResponseSpecification startResponse)
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts
running.
|
FulfillmentUpdatesSpecification |
withTimeoutInSeconds(Integer timeoutInSeconds)
The length of time that the fulfillment Lambda function should run before it times out.
|
FulfillmentUpdatesSpecification |
withUpdateResponse(FulfillmentUpdateResponseSpecification updateResponse)
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda
function is running.
|
public void setActive(Boolean active)
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the active
field is set to true, the startResponse
, updateResponse
, and
timeoutInSeconds
fields are required.
active
- Determines whether fulfillment updates are sent to the user. When this field is true, updates are
sent.
If the active
field is set to true, the startResponse
,
updateResponse
, and timeoutInSeconds
fields are required.
public Boolean getActive()
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the active
field is set to true, the startResponse
, updateResponse
, and
timeoutInSeconds
fields are required.
If the active
field is set to true, the startResponse
,
updateResponse
, and timeoutInSeconds
fields are required.
public FulfillmentUpdatesSpecification withActive(Boolean active)
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the active
field is set to true, the startResponse
, updateResponse
, and
timeoutInSeconds
fields are required.
active
- Determines whether fulfillment updates are sent to the user. When this field is true, updates are
sent.
If the active
field is set to true, the startResponse
,
updateResponse
, and timeoutInSeconds
fields are required.
public Boolean isActive()
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the active
field is set to true, the startResponse
, updateResponse
, and
timeoutInSeconds
fields are required.
If the active
field is set to true, the startResponse
,
updateResponse
, and timeoutInSeconds
fields are required.
public void setStartResponse(FulfillmentStartResponseSpecification startResponse)
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
startResponse
- Provides configuration information for the message sent to users when the fulfillment Lambda functions
starts running.public FulfillmentStartResponseSpecification getStartResponse()
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
public FulfillmentUpdatesSpecification withStartResponse(FulfillmentStartResponseSpecification startResponse)
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
startResponse
- Provides configuration information for the message sent to users when the fulfillment Lambda functions
starts running.public void setUpdateResponse(FulfillmentUpdateResponseSpecification updateResponse)
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
updateResponse
- Provides configuration information for messages sent periodically to the user while the fulfillment Lambda
function is running.public FulfillmentUpdateResponseSpecification getUpdateResponse()
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
public FulfillmentUpdatesSpecification withUpdateResponse(FulfillmentUpdateResponseSpecification updateResponse)
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
updateResponse
- Provides configuration information for messages sent periodically to the user while the fulfillment Lambda
function is running.public void setTimeoutInSeconds(Integer timeoutInSeconds)
The length of time that the fulfillment Lambda function should run before it times out.
timeoutInSeconds
- The length of time that the fulfillment Lambda function should run before it times out.public Integer getTimeoutInSeconds()
The length of time that the fulfillment Lambda function should run before it times out.
public FulfillmentUpdatesSpecification withTimeoutInSeconds(Integer timeoutInSeconds)
The length of time that the fulfillment Lambda function should run before it times out.
timeoutInSeconds
- The length of time that the fulfillment Lambda function should run before it times out.public String toString()
toString
in class Object
Object.toString()
public FulfillmentUpdatesSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.