Class PayloadPart.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.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.Builder
attribution(Attribution attribution)
Sets the value of the Attribution property for this object.PayloadPart
build()
PayloadPart.Builder
bytes(SdkBytes bytes)
Sets the value of the Bytes property for this object.Attribution.Builder
getAttribution()
ByteBuffer
getBytes()
List<SdkField<?>>
sdkFields()
void
setAttribution(software.amazon.awssdk.services.bedrockagentruntime.model.Attribution.BuilderImpl attribution)
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.services.bedrockagentruntime.model.PayloadPart.Builder
attribution
-
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
Sets the value of the Bytes property for this object.- Specified by:
bytes
in interfacePayloadPart.Builder
- Parameters:
bytes
- The new value for the Bytes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttribution
public final Attribution.Builder getAttribution()
-
setAttribution
public final void setAttribution(software.amazon.awssdk.services.bedrockagentruntime.model.Attribution.BuilderImpl attribution)
-
attribution
public final PayloadPart.Builder attribution(Attribution attribution)
Description copied from interface:PayloadPart.Builder
Sets the value of the Attribution property for this object.- Specified by:
attribution
in interfacePayloadPart.Builder
- Parameters:
attribution
- The new value for the Attribution property for this object.- 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>
-
-