public CreateKxClusterRequest withCode(CodeConfiguration code) {
        setCode(code);
        return this;
    }
<p>
The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3
source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the
cluster.
</p>

@param code
       The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of
       the S3 source bucket, location, S3 object version, and the relative path from where the custom code is
       loaded into the cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/CreateKxClusterRequest.java