Class FulfillmentUpdatesSpecification

    • Method Detail

      • active

        public final 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.

        Returns:
        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.

      • startResponse

        public final FulfillmentStartResponseSpecification startResponse()

        Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.

        Returns:
        Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
      • updateResponse

        public final FulfillmentUpdateResponseSpecification updateResponse()

        Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.

        Returns:
        Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
      • timeoutInSeconds

        public final Integer timeoutInSeconds()

        The length of time that the fulfillment Lambda function should run before it times out.

        Returns:
        The length of time that the fulfillment Lambda function should run before it times out.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)