@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptFlowNodeInlineConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for a prompt defined inline in the node.
Constructor and Description |
---|
PromptFlowNodeInlineConfiguration() |
Modifier and Type | Method and Description |
---|---|
PromptFlowNodeInlineConfiguration |
clone() |
boolean |
equals(Object obj) |
PromptInferenceConfiguration |
getInferenceConfiguration()
Contains inference configurations for the prompt.
|
String |
getModelId()
The unique identifier of the model to run inference with.
|
PromptTemplateConfiguration |
getTemplateConfiguration()
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
|
String |
getTemplateType()
The type of prompt template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInferenceConfiguration(PromptInferenceConfiguration inferenceConfiguration)
Contains inference configurations for the prompt.
|
void |
setModelId(String modelId)
The unique identifier of the model to run inference with.
|
void |
setTemplateConfiguration(PromptTemplateConfiguration templateConfiguration)
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
|
void |
setTemplateType(String templateType)
The type of prompt template.
|
String |
toString()
Returns a string representation of this object.
|
PromptFlowNodeInlineConfiguration |
withInferenceConfiguration(PromptInferenceConfiguration inferenceConfiguration)
Contains inference configurations for the prompt.
|
PromptFlowNodeInlineConfiguration |
withModelId(String modelId)
The unique identifier of the model to run inference with.
|
PromptFlowNodeInlineConfiguration |
withTemplateConfiguration(PromptTemplateConfiguration templateConfiguration)
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
|
PromptFlowNodeInlineConfiguration |
withTemplateType(PromptTemplateType templateType)
The type of prompt template.
|
PromptFlowNodeInlineConfiguration |
withTemplateType(String templateType)
The type of prompt template.
|
public void setInferenceConfiguration(PromptInferenceConfiguration inferenceConfiguration)
Contains inference configurations for the prompt.
inferenceConfiguration
- Contains inference configurations for the prompt.public PromptInferenceConfiguration getInferenceConfiguration()
Contains inference configurations for the prompt.
public PromptFlowNodeInlineConfiguration withInferenceConfiguration(PromptInferenceConfiguration inferenceConfiguration)
Contains inference configurations for the prompt.
inferenceConfiguration
- Contains inference configurations for the prompt.public void setModelId(String modelId)
The unique identifier of the model to run inference with.
modelId
- The unique identifier of the model to run inference with.public String getModelId()
The unique identifier of the model to run inference with.
public PromptFlowNodeInlineConfiguration withModelId(String modelId)
The unique identifier of the model to run inference with.
modelId
- The unique identifier of the model to run inference with.public void setTemplateConfiguration(PromptTemplateConfiguration templateConfiguration)
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
templateConfiguration
- Contains a prompt and variables in the prompt that can be replaced with values at runtime.public PromptTemplateConfiguration getTemplateConfiguration()
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
public PromptFlowNodeInlineConfiguration withTemplateConfiguration(PromptTemplateConfiguration templateConfiguration)
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
templateConfiguration
- Contains a prompt and variables in the prompt that can be replaced with values at runtime.public void setTemplateType(String templateType)
The type of prompt template.
templateType
- The type of prompt template.PromptTemplateType
public String getTemplateType()
The type of prompt template.
PromptTemplateType
public PromptFlowNodeInlineConfiguration withTemplateType(String templateType)
The type of prompt template.
templateType
- The type of prompt template.PromptTemplateType
public PromptFlowNodeInlineConfiguration withTemplateType(PromptTemplateType templateType)
The type of prompt template.
templateType
- The type of prompt template.PromptTemplateType
public String toString()
toString
in class Object
Object.toString()
public PromptFlowNodeInlineConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.