Class InlineCodeFlowNodeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.InlineCodeFlowNodeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InlineCodeFlowNodeConfiguration.Builder,InlineCodeFlowNodeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class InlineCodeFlowNodeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InlineCodeFlowNodeConfiguration.Builder,InlineCodeFlowNodeConfiguration>
Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInlineCodeFlowNodeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineCodeFlowNodeConfiguration.Builderbuilder()Stringcode()The code that's executed in your inline code node.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SupportedLanguageslanguage()The programming language used by your inline code node.StringlanguageAsString()The programming language used by your inline code node.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InlineCodeFlowNodeConfiguration.Builder>serializableBuilderClass()InlineCodeFlowNodeConfiguration.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
-
code
public final String code()
The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.
The code must be valid in the programming
languagethat you specify.- Returns:
- The code that's executed in your inline code node. The code can access input data from previous nodes in
the flow, perform operations on that data, and produce output that can be used by other nodes in your
flow.
The code must be valid in the programming
languagethat you specify.
-
language
public final SupportedLanguages language()
The programming language used by your inline code node.
The code must be valid in the programming
languagethat you specify. Currently, only Python 3 (Python_3) is supported.If the service returns an enum value that is not available in the current SDK version,
languagewill returnSupportedLanguages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageAsString().- Returns:
- The programming language used by your inline code node.
The code must be valid in the programming
languagethat you specify. Currently, only Python 3 (Python_3) is supported. - See Also:
SupportedLanguages
-
languageAsString
public final String languageAsString()
The programming language used by your inline code node.
The code must be valid in the programming
languagethat you specify. Currently, only Python 3 (Python_3) is supported.If the service returns an enum value that is not available in the current SDK version,
languagewill returnSupportedLanguages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageAsString().- Returns:
- The programming language used by your inline code node.
The code must be valid in the programming
languagethat you specify. Currently, only Python 3 (Python_3) is supported. - See Also:
SupportedLanguages
-
toBuilder
public InlineCodeFlowNodeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InlineCodeFlowNodeConfiguration.Builder,InlineCodeFlowNodeConfiguration>
-
builder
public static InlineCodeFlowNodeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends InlineCodeFlowNodeConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-