Class PromptConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.PromptConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptConfiguration.Builder,PromptConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PromptConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PromptConfiguration.Builder,PromptConfiguration>
BasePromptConfiguration per Prompt Type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePromptConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbasePromptTemplate()Returns the value of the BasePromptTemplate property for this object.static PromptConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InferenceConfigurationinferenceConfiguration()Returns the value of the InferenceConfiguration property for this object.CreationModeparserMode()Returns the value of the ParserMode property for this object.StringparserModeAsString()Returns the value of the ParserMode property for this object.CreationModepromptCreationMode()Returns the value of the PromptCreationMode property for this object.StringpromptCreationModeAsString()Returns the value of the PromptCreationMode property for this object.PromptStatepromptState()Returns the value of the PromptState property for this object.StringpromptStateAsString()Returns the value of the PromptState property for this object.PromptTypepromptType()Returns the value of the PromptType property for this object.StringpromptTypeAsString()Returns the value of the PromptType property for this object.List<SdkField<?>>sdkFields()static Class<? extends PromptConfiguration.Builder>serializableBuilderClass()PromptConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
promptType
public final PromptType promptType()
Returns the value of the PromptType property for this object.If the service returns an enum value that is not available in the current SDK version,
promptTypewill returnPromptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptTypeAsString().- Returns:
- The value of the PromptType property for this object.
- See Also:
PromptType
-
promptTypeAsString
public final String promptTypeAsString()
Returns the value of the PromptType property for this object.If the service returns an enum value that is not available in the current SDK version,
promptTypewill returnPromptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptTypeAsString().- Returns:
- The value of the PromptType property for this object.
- See Also:
PromptType
-
promptCreationMode
public final CreationMode promptCreationMode()
Returns the value of the PromptCreationMode property for this object.If the service returns an enum value that is not available in the current SDK version,
promptCreationModewill returnCreationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptCreationModeAsString().- Returns:
- The value of the PromptCreationMode property for this object.
- See Also:
CreationMode
-
promptCreationModeAsString
public final String promptCreationModeAsString()
Returns the value of the PromptCreationMode property for this object.If the service returns an enum value that is not available in the current SDK version,
promptCreationModewill returnCreationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptCreationModeAsString().- Returns:
- The value of the PromptCreationMode property for this object.
- See Also:
CreationMode
-
promptState
public final PromptState promptState()
Returns the value of the PromptState property for this object.If the service returns an enum value that is not available in the current SDK version,
promptStatewill returnPromptState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptStateAsString().- Returns:
- The value of the PromptState property for this object.
- See Also:
PromptState
-
promptStateAsString
public final String promptStateAsString()
Returns the value of the PromptState property for this object.If the service returns an enum value that is not available in the current SDK version,
promptStatewill returnPromptState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromptStateAsString().- Returns:
- The value of the PromptState property for this object.
- See Also:
PromptState
-
basePromptTemplate
public final String basePromptTemplate()
Returns the value of the BasePromptTemplate property for this object.- Returns:
- The value of the BasePromptTemplate property for this object.
-
inferenceConfiguration
public final InferenceConfiguration inferenceConfiguration()
Returns the value of the InferenceConfiguration property for this object.- Returns:
- The value of the InferenceConfiguration property for this object.
-
parserMode
public final CreationMode parserMode()
Returns the value of the ParserMode property for this object.If the service returns an enum value that is not available in the current SDK version,
parserModewill returnCreationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparserModeAsString().- Returns:
- The value of the ParserMode property for this object.
- See Also:
CreationMode
-
parserModeAsString
public final String parserModeAsString()
Returns the value of the ParserMode property for this object.If the service returns an enum value that is not available in the current SDK version,
parserModewill returnCreationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparserModeAsString().- Returns:
- The value of the ParserMode property for this object.
- See Also:
CreationMode
-
toBuilder
public PromptConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptConfiguration.Builder,PromptConfiguration>
-
builder
public static PromptConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PromptConfiguration.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.
-
-