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 protectedBuilderImpl()protectedBuilderImpl(PayloadPart model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayloadPartbuild()PayloadPart.Builderbytes(SdkBytes bytes)Base64-encoded bytes of payload data.ByteBuffergetBytes()List<SdkField<?>>sdkFields()voidsetBytes(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.BuilderBase64-encoded bytes of payload data.
- Specified by:
bytesin 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:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<PayloadPart.Builder,PayloadPart>
-
-