public CreateOpenZFSVolumeConfiguration withOriginSnapshot(CreateOpenZFSOriginSnapshotConfiguration originSnapshot) {
        setOriginSnapshot(originSnapshot);
        return this;
    }
<p>
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
</p>

@param originSnapshot
       The configuration object that specifies the snapshot to use as the origin of the data for the volume.
@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