Class ModelInvocationInput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.ModelInvocationInput
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ModelInvocationInput.Builder,ModelInvocationInput>
@Generated("software.amazon.awssdk:codegen") public final class ModelInvocationInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelInvocationInput.Builder,ModelInvocationInput>
Trace Part which contains information used to call Invoke Model
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelInvocationInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelInvocationInput.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InferenceConfiguration
inferenceConfiguration()
Returns the value of the InferenceConfiguration property for this object.String
overrideLambda()
Returns the value of the OverrideLambda property for this object.CreationMode
parserMode()
Returns the value of the ParserMode property for this object.String
parserModeAsString()
Returns the value of the ParserMode property for this object.CreationMode
promptCreationMode()
Returns the value of the PromptCreationMode property for this object.String
promptCreationModeAsString()
Returns the value of the PromptCreationMode property for this object.List<SdkField<?>>
sdkFields()
static Class<? extends ModelInvocationInput.Builder>
serializableBuilderClass()
String
text()
Returns the value of the Text property for this object.ModelInvocationInput.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
traceId()
Returns the value of the TraceId property for this object.PromptType
type()
Returns the value of the Type property for this object.String
typeAsString()
Returns the value of the Type property for 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
-
traceId
public final String traceId()
Returns the value of the TraceId property for this object.- Returns:
- The value of the TraceId property for this object.
-
text
public final String text()
Returns the value of the Text property for this object.- Returns:
- The value of the Text property for this object.
-
type
public final PromptType type()
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
type
will returnPromptType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The value of the Type property for this object.
- See Also:
PromptType
-
typeAsString
public final String typeAsString()
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
type
will returnPromptType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The value of the Type property for this object.
- See Also:
PromptType
-
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.
-
overrideLambda
public final String overrideLambda()
Returns the value of the OverrideLambda property for this object.- Returns:
- The value of the OverrideLambda property for this object.
-
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,
promptCreationMode
will 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,
promptCreationMode
will 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
-
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,
parserMode
will 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,
parserMode
will 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 ModelInvocationInput.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModelInvocationInput.Builder,ModelInvocationInput>
-
builder
public static ModelInvocationInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelInvocationInput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-