/* * Copyright 2018-2023 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.lexmodelsv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed * by the platform. *

*

* When you use a response card, the response from the user is constrained to the text associated with a button on the * card. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ImageResponseCard implements Serializable, Cloneable, StructuredPojo { /** *

* The title to display on the response card. The format of the title is determined by the platform displaying the * response card. *

*/ private String title; /** *

* The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying * the response card. *

*/ private String subtitle; /** *

* The URL of an image to display on the response card. The image URL must be publicly available so that the * platform displaying the response card has access to the image. *

*/ private String imageUrl; /** *

* A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by * the platform that displays the button. *

*/ private java.util.List