@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QQueryCardInput extends Object implements Serializable, Cloneable, StructuredPojo
The input shape for defining a query card in an Amazon Q App.
| Constructor and Description |
|---|
QQueryCardInput() |
| Modifier and Type | Method and Description |
|---|---|
QQueryCardInput |
clone() |
boolean |
equals(Object obj) |
AttributeFilter |
getAttributeFilter()
Turns on filtering of responses based on document attributes or metadata fields.
|
String |
getId()
The unique identifier of the query card.
|
String |
getOutputSource()
The source or type of output to generate for the query card.
|
String |
getPrompt()
The prompt or instructions displayed for the query card.
|
String |
getTitle()
The title or label of the query card.
|
String |
getType()
The type of the card.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributeFilter(AttributeFilter attributeFilter)
Turns on filtering of responses based on document attributes or metadata fields.
|
void |
setId(String id)
The unique identifier of the query card.
|
void |
setOutputSource(String outputSource)
The source or type of output to generate for the query card.
|
void |
setPrompt(String prompt)
The prompt or instructions displayed for the query card.
|
void |
setTitle(String title)
The title or label of the query card.
|
void |
setType(String type)
The type of the card.
|
String |
toString()
Returns a string representation of this object.
|
QQueryCardInput |
withAttributeFilter(AttributeFilter attributeFilter)
Turns on filtering of responses based on document attributes or metadata fields.
|
QQueryCardInput |
withId(String id)
The unique identifier of the query card.
|
QQueryCardInput |
withOutputSource(CardOutputSource outputSource)
The source or type of output to generate for the query card.
|
QQueryCardInput |
withOutputSource(String outputSource)
The source or type of output to generate for the query card.
|
QQueryCardInput |
withPrompt(String prompt)
The prompt or instructions displayed for the query card.
|
QQueryCardInput |
withTitle(String title)
The title or label of the query card.
|
QQueryCardInput |
withType(CardType type)
The type of the card.
|
QQueryCardInput |
withType(String type)
The type of the card.
|
public void setTitle(String title)
The title or label of the query card.
title - The title or label of the query card.public String getTitle()
The title or label of the query card.
public QQueryCardInput withTitle(String title)
The title or label of the query card.
title - The title or label of the query card.public void setId(String id)
The unique identifier of the query card.
id - The unique identifier of the query card.public String getId()
The unique identifier of the query card.
public QQueryCardInput withId(String id)
The unique identifier of the query card.
id - The unique identifier of the query card.public void setType(String type)
The type of the card.
type - The type of the card.CardTypepublic String getType()
The type of the card.
CardTypepublic QQueryCardInput withType(String type)
The type of the card.
type - The type of the card.CardTypepublic QQueryCardInput withType(CardType type)
The type of the card.
type - The type of the card.CardTypepublic void setPrompt(String prompt)
The prompt or instructions displayed for the query card.
prompt - The prompt or instructions displayed for the query card.public String getPrompt()
The prompt or instructions displayed for the query card.
public QQueryCardInput withPrompt(String prompt)
The prompt or instructions displayed for the query card.
prompt - The prompt or instructions displayed for the query card.public void setOutputSource(String outputSource)
The source or type of output to generate for the query card.
outputSource - The source or type of output to generate for the query card.CardOutputSourcepublic String getOutputSource()
The source or type of output to generate for the query card.
CardOutputSourcepublic QQueryCardInput withOutputSource(String outputSource)
The source or type of output to generate for the query card.
outputSource - The source or type of output to generate for the query card.CardOutputSourcepublic QQueryCardInput withOutputSource(CardOutputSource outputSource)
The source or type of output to generate for the query card.
outputSource - The source or type of output to generate for the query card.CardOutputSourcepublic void setAttributeFilter(AttributeFilter attributeFilter)
Turns on filtering of responses based on document attributes or metadata fields.
attributeFilter - Turns on filtering of responses based on document attributes or metadata fields.public AttributeFilter getAttributeFilter()
Turns on filtering of responses based on document attributes or metadata fields.
public QQueryCardInput withAttributeFilter(AttributeFilter attributeFilter)
Turns on filtering of responses based on document attributes or metadata fields.
attributeFilter - Turns on filtering of responses based on document attributes or metadata fields.public String toString()
toString in class ObjectObject.toString()public QQueryCardInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.