@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.QueryTransformationType
public String getType()
The type of transformation to apply to the prompt.
QueryTransformationType
public QueryTransformationConfiguration withType(String type)
The type of transformation to apply to the prompt.
type
- The type of transformation to apply to the prompt.QueryTransformationType
public QueryTransformationConfiguration withType(QueryTransformationType type)
The type of transformation to apply to the prompt.
type
- The type of transformation to apply to the prompt.QueryTransformationType
public String toString()
toString
in class Object
Object.toString()
public QueryTransformationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.