Class ContentBlockStopEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockruntime.model.ContentBlockStopEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,ContentBlockStopEvent.Builder,Buildable,CopyableBuilder<ContentBlockStopEvent.Builder,ContentBlockStopEvent>,SdkBuilder<ContentBlockStopEvent.Builder,ContentBlockStopEvent>
- Enclosing class:
- ContentBlockStopEvent
protected static class ContentBlockStopEvent.BuilderImpl extends Object implements ContentBlockStopEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(ContentBlockStopEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentBlockStopEventbuild()ContentBlockStopEvent.BuildercontentBlockIndex(Integer contentBlockIndex)The index for a content block.IntegergetContentBlockIndex()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetContentBlockIndex(Integer contentBlockIndex)-
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(ContentBlockStopEvent model)
-
-
Method Detail
-
getContentBlockIndex
public final Integer getContentBlockIndex()
-
setContentBlockIndex
public final void setContentBlockIndex(Integer contentBlockIndex)
-
contentBlockIndex
public final ContentBlockStopEvent.Builder contentBlockIndex(Integer contentBlockIndex)
Description copied from interface:ContentBlockStopEvent.BuilderThe index for a content block.
- Specified by:
contentBlockIndexin interfaceContentBlockStopEvent.Builder- Parameters:
contentBlockIndex- The index for a content block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public ContentBlockStopEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ContentBlockStopEvent.Builder,ContentBlockStopEvent>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-