Class PayloadPart.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockruntime.model.PayloadPart.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo
,PayloadPart.Builder
,Buildable
,CopyableBuilder<PayloadPart.Builder,PayloadPart>
,SdkBuilder<PayloadPart.Builder,PayloadPart>
- Enclosing class:
- PayloadPart
protected static class PayloadPart.BuilderImpl extends Object implements PayloadPart.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BuilderImpl()
protected
BuilderImpl(PayloadPart model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayloadPart
build()
PayloadPart.Builder
bytes(SdkBytes bytes)
Base64-encoded bytes of payload data.ByteBuffer
getBytes()
List<SdkField<?>>
sdkFields()
void
setBytes(ByteBuffer bytes)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(PayloadPart model)
-
-
Method Detail
-
getBytes
public final ByteBuffer getBytes()
-
setBytes
public final void setBytes(ByteBuffer bytes)
-
bytes
public final PayloadPart.Builder bytes(SdkBytes bytes)
Description copied from interface:PayloadPart.Builder
Base64-encoded bytes of payload data.
- Specified by:
bytes
in interfacePayloadPart.Builder
- Parameters:
bytes
- Base64-encoded bytes of payload data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public PayloadPart build()
- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<PayloadPart.Builder,PayloadPart>
-
-