/* * Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.lexrts.model; import java.io.Serializable; /** *

* Represents an option rendered to the user when a prompt is shown. It could be * an image, a button, a link, or text. *

*/ public class GenericAttachment implements Serializable { /** *

* The title of the option. *

*

* Constraints:
* Length: 1 - 80
*/ private String title; /** *

* The subtitle shown below the title. *

*

* Constraints:
* Length: 1 - 80
*/ private String subTitle; /** *

* The URL of an attachment to the response card. *

*

* Constraints:
* Length: 1 - 2048
*/ private String attachmentLinkUrl; /** *

* The URL of an image that is displayed to the user. *

*

* Constraints:
* Length: 1 - 2048
*/ private String imageUrl; /** *

* The list of options to show to the user. *

*/ private java.util.List