Class TextToSqlConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.TextToSqlConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class TextToSqlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
Contains configurations for transforming text to SQL.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TextToSqlConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextToSqlConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
TextToSqlKnowledgeBaseConfiguration
knowledgeBaseConfiguration()
Specifies configurations for a knowledge base to use in transformation.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends TextToSqlConfiguration.Builder>
serializableBuilderClass()
TextToSqlConfiguration.Builder
toBuilder()
String
toString()
Returns a string representation of this object.TextToSqlConfigurationType
type()
The type of resource to use in transformation.String
typeAsString()
The type of resource to use in transformation.-
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
-
knowledgeBaseConfiguration
public final TextToSqlKnowledgeBaseConfiguration knowledgeBaseConfiguration()
Specifies configurations for a knowledge base to use in transformation.
- Returns:
- Specifies configurations for a knowledge base to use in transformation.
-
type
public final TextToSqlConfigurationType type()
The type of resource to use in transformation.
If the service returns an enum value that is not available in the current SDK version,
type
will returnTextToSqlConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of resource to use in transformation.
- See Also:
TextToSqlConfigurationType
-
typeAsString
public final String typeAsString()
The type of resource to use in transformation.
If the service returns an enum value that is not available in the current SDK version,
type
will returnTextToSqlConfigurationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of resource to use in transformation.
- See Also:
TextToSqlConfigurationType
-
toBuilder
public TextToSqlConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
-
builder
public static TextToSqlConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextToSqlConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-