public VectorConfig withDimension(Integer dimension) {
        setDimension(dimension);
        return this;
    }
<p>
The number of elements in your vector.
</p>

@param dimension
       The number of elements in your vector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/VectorConfig.java