Class PromptFlowNodeInlineConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.PromptFlowNodeInlineConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptFlowNodeInlineConfiguration.Builder,PromptFlowNodeInlineConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PromptFlowNodeInlineConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PromptFlowNodeInlineConfiguration.Builder,PromptFlowNodeInlineConfiguration>
Contains configurations for a prompt defined inline in the node.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePromptFlowNodeInlineConfiguration.Builder
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inferenceConfiguration
public final PromptInferenceConfiguration inferenceConfiguration()
Contains inference configurations for the prompt.
- Returns:
- Contains inference configurations for the prompt.
-
modelId
public final String modelId()
The unique identifier of the model or inference profile to run inference with.
- Returns:
- The unique identifier of the model or inference profile to run inference with.
-
templateConfiguration
public final PromptTemplateConfiguration templateConfiguration()
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
- Returns:
- Contains a prompt and variables in the prompt that can be replaced with values at runtime.
-
templateType
public final PromptTemplateType templateType()
The type of prompt template.
If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnPromptTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The type of prompt template.
- See Also:
PromptTemplateType
-
templateTypeAsString
public final String templateTypeAsString()
The type of prompt template.
If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnPromptTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The type of prompt template.
- See Also:
PromptTemplateType
-
toBuilder
public PromptFlowNodeInlineConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptFlowNodeInlineConfiguration.Builder,PromptFlowNodeInlineConfiguration>
-
builder
public static PromptFlowNodeInlineConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PromptFlowNodeInlineConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-