@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryTransformationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION
.
| Constructor and Description |
|---|
QueryTransformationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
QueryTransformationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of transformation to apply to the prompt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
The type of transformation to apply to the prompt.
|
String |
toString()
Returns a string representation of this object.
|
QueryTransformationConfiguration |
withType(QueryTransformationType type)
The type of transformation to apply to the prompt.
|
QueryTransformationConfiguration |
withType(String type)
The type of transformation to apply to the prompt.
|
public void setType(String type)
The type of transformation to apply to the prompt.
type - The type of transformation to apply to the prompt.QueryTransformationTypepublic String getType()
The type of transformation to apply to the prompt.
QueryTransformationTypepublic QueryTransformationConfiguration withType(String type)
The type of transformation to apply to the prompt.
type - The type of transformation to apply to the prompt.QueryTransformationTypepublic QueryTransformationConfiguration withType(QueryTransformationType type)
The type of transformation to apply to the prompt.
type - The type of transformation to apply to the prompt.QueryTransformationTypepublic String toString()
toString in class ObjectObject.toString()public QueryTransformationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.