Class FlowConnection
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.FlowConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FlowConnection.Builder,FlowConnection>
@Generated("software.amazon.awssdk:codegen") public final class FlowConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlowConnection.Builder,FlowConnection>
Contains information about a connection between two nodes in the flow.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFlowConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowConnection.Builderbuilder()FlowConnectionConfigurationconfiguration()The configuration of the connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()A name for the connection that you can reference.List<SdkField<?>>sdkFields()static Class<? extends FlowConnection.Builder>serializableBuilderClass()Stringsource()The node that the connection starts at.Stringtarget()The node that the connection ends at.FlowConnection.BuildertoBuilder()StringtoString()Returns a string representation of this object.FlowConnectionTypetype()Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).StringtypeAsString()Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).-
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
-
configuration
public final FlowConnectionConfiguration configuration()
The configuration of the connection.
- Returns:
- The configuration of the connection.
-
name
public final String name()
A name for the connection that you can reference.
- Returns:
- A name for the connection that you can reference.
-
source
public final String source()
The node that the connection starts at.
- Returns:
- The node that the connection starts at.
-
target
public final String target()
The node that the connection ends at.
- Returns:
- The node that the connection ends at.
-
type
public final FlowConnectionType type()
Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data).If the service returns an enum value that is not available in the current SDK version,
typewill returnFlowConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data). - See Also:
FlowConnectionType
-
typeAsString
public final String typeAsString()
Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data).If the service returns an enum value that is not available in the current SDK version,
typewill returnFlowConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data). - See Also:
FlowConnectionType
-
toBuilder
public FlowConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowConnection.Builder,FlowConnection>
-
builder
public static FlowConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends FlowConnection.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.
-
-