protected static class PayloadPart.BuilderImpl extends Object implements PayloadPart.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(PayloadPart model) |
| Modifier and Type | Method and Description |
|---|---|
PayloadPart |
build() |
PayloadPart.Builder |
bytes(SdkBytes bytes)
Base64-encoded bytes of payload data.
|
ByteBuffer |
getBytes() |
List<SdkField<?>> |
sdkFields() |
void |
setBytes(ByteBuffer bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsBySdkFieldscopyapplyMutationprotected BuilderImpl()
protected BuilderImpl(PayloadPart model)
public final ByteBuffer getBytes()
public final void setBytes(ByteBuffer bytes)
public final PayloadPart.Builder bytes(SdkBytes bytes)
PayloadPart.BuilderBase64-encoded bytes of payload data.
bytes in interface PayloadPart.Builderbytes - Base64-encoded bytes of payload data.public PayloadPart build()
build in interface Buildablebuild in interface SdkBuilder<PayloadPart.Builder,PayloadPart>Copyright © 2023. All rights reserved.