Class InvocationInput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.InvocationInput
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InvocationInput.Builder,InvocationInput>
@Generated("software.amazon.awssdk:codegen") public final class InvocationInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InvocationInput.Builder,InvocationInput>
Trace Part which contains input details for action group or knowledge base
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InvocationInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionGroupInvocationInput
actionGroupInvocationInput()
Returns the value of the ActionGroupInvocationInput property for this object.static InvocationInput.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InvocationType
invocationType()
Returns the value of the InvocationType property for this object.String
invocationTypeAsString()
Returns the value of the InvocationType property for this object.KnowledgeBaseLookupInput
knowledgeBaseLookupInput()
Returns the value of the KnowledgeBaseLookupInput property for this object.List<SdkField<?>>
sdkFields()
static Class<? extends InvocationInput.Builder>
serializableBuilderClass()
InvocationInput.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
traceId()
Returns the value of the TraceId 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.
-
invocationType
public final InvocationType invocationType()
Returns the value of the InvocationType property for this object.If the service returns an enum value that is not available in the current SDK version,
invocationType
will returnInvocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvocationTypeAsString()
.- Returns:
- The value of the InvocationType property for this object.
- See Also:
InvocationType
-
invocationTypeAsString
public final String invocationTypeAsString()
Returns the value of the InvocationType property for this object.If the service returns an enum value that is not available in the current SDK version,
invocationType
will returnInvocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvocationTypeAsString()
.- Returns:
- The value of the InvocationType property for this object.
- See Also:
InvocationType
-
actionGroupInvocationInput
public final ActionGroupInvocationInput actionGroupInvocationInput()
Returns the value of the ActionGroupInvocationInput property for this object.- Returns:
- The value of the ActionGroupInvocationInput property for this object.
-
knowledgeBaseLookupInput
public final KnowledgeBaseLookupInput knowledgeBaseLookupInput()
Returns the value of the KnowledgeBaseLookupInput property for this object.- Returns:
- The value of the KnowledgeBaseLookupInput property for this object.
-
toBuilder
public InvocationInput.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InvocationInput.Builder,InvocationInput>
-
builder
public static InvocationInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvocationInput.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.
-
-