@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
BasePromptConfiguration per Prompt Type.
Constructor and Description |
---|
PromptConfiguration() |
public void setPromptType(String promptType)
promptType
- PromptType
public String getPromptType()
PromptType
public PromptConfiguration withPromptType(String promptType)
promptType
- PromptType
public PromptConfiguration withPromptType(PromptType promptType)
promptType
- PromptType
public void setPromptCreationMode(String promptCreationMode)
promptCreationMode
- CreationMode
public String getPromptCreationMode()
CreationMode
public PromptConfiguration withPromptCreationMode(String promptCreationMode)
promptCreationMode
- CreationMode
public PromptConfiguration withPromptCreationMode(CreationMode promptCreationMode)
promptCreationMode
- CreationMode
public void setPromptState(String promptState)
promptState
- PromptState
public String getPromptState()
PromptState
public PromptConfiguration withPromptState(String promptState)
promptState
- PromptState
public PromptConfiguration withPromptState(PromptState promptState)
promptState
- PromptState
public void setBasePromptTemplate(String basePromptTemplate)
basePromptTemplate
- public String getBasePromptTemplate()
public PromptConfiguration withBasePromptTemplate(String basePromptTemplate)
basePromptTemplate
- public void setInferenceConfiguration(InferenceConfiguration inferenceConfiguration)
inferenceConfiguration
- public InferenceConfiguration getInferenceConfiguration()
public PromptConfiguration withInferenceConfiguration(InferenceConfiguration inferenceConfiguration)
inferenceConfiguration
- public void setParserMode(String parserMode)
parserMode
- CreationMode
public String getParserMode()
CreationMode
public PromptConfiguration withParserMode(String parserMode)
parserMode
- CreationMode
public PromptConfiguration withParserMode(CreationMode parserMode)
parserMode
- CreationMode
public String toString()
toString
in class Object
Object.toString()
public PromptConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.