public SemanticChunkingConfiguration withBufferSize(Integer bufferSize) {
        setBufferSize(bufferSize);
        return this;
    }
<p>
The buffer size.
</p>

@param bufferSize
       The buffer size.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/SemanticChunkingConfiguration.java