Class InlineAgentPayloadPart.BuilderImpl
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart.BuilderImpl
- All Implemented Interfaces:
SdkPojo,InlineAgentPayloadPart.Builder,Buildable,CopyableBuilder<InlineAgentPayloadPart.Builder,,InlineAgentPayloadPart> SdkBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart>
- Enclosing class:
- InlineAgentPayloadPart
protected static class InlineAgentPayloadPart.BuilderImpl
extends Object
implements InlineAgentPayloadPart.Builder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionattribution(Attribution attribution) Contains citations for a part of an agent response.build()A part of the agent response in bytes.final Attribution.Builderfinal ByteBuffergetBytes()final voidsetAttribution(software.amazon.awssdk.services.bedrockagentruntime.model.Attribution.BuilderImpl attribution) final voidsetBytes(ByteBuffer bytes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart.Builder
attributionMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutationMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Constructor Details
-
BuilderImpl
protected BuilderImpl() -
BuilderImpl
-
-
Method Details
-
getAttribution
-
setAttribution
public final void setAttribution(software.amazon.awssdk.services.bedrockagentruntime.model.Attribution.BuilderImpl attribution) -
attribution
Description copied from interface:InlineAgentPayloadPart.BuilderContains citations for a part of an agent response.
- Specified by:
attributionin interfaceInlineAgentPayloadPart.Builder- Parameters:
attribution- Contains citations for a part of an agent response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getBytes
-
setBytes
-
bytes
Description copied from interface:InlineAgentPayloadPart.BuilderA part of the agent response in bytes.
- Specified by:
bytesin interfaceInlineAgentPayloadPart.Builder- Parameters:
bytes- A part of the agent response in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-