public CreateOpenZFSVolumeConfiguration withRecordSizeKiB(Integer recordSizeKiB) {
        setRecordSizeKiB(recordSizeKiB);
        return this;
    }
<p>
Specifies the suggested block size for a volume in a ZFS dataset, in kibibytes (KiB). Valid values are 4, 8, 16,
32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. We recommend using the default setting for the
majority of use cases. Generally, workloads that write in fixed small or large record sizes may benefit from
setting a custom record size, like database workloads (small record size) or media streaming workloads (large
record size). For additional guidance on when to set a custom record size, see <a
href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance.html#record-size-performance"> ZFS Record
size</a> in the <i>Amazon FSx for OpenZFS User Guide</i>.
</p>

@param recordSizeKiB
       Specifies the suggested block size for a volume in a ZFS dataset, in kibibytes (KiB). Valid values are 4,
       8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. We recommend using the default setting
       for the majority of use cases. Generally, workloads that write in fixed small or large record sizes may
       benefit from setting a custom record size, like database workloads (small record size) or media streaming
       workloads (large record size). For additional guidance on when to set a custom record size, see <a
       href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance.html#record-size-performance"> ZFS
       Record size</a> in the <i>Amazon FSx for OpenZFS User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/CreateOpenZFSVolumeConfiguration.java