public StorageConfiguration withType(KnowledgeBaseStorageType type) {
        this.type = type.toString();
        return this;
    }
<p>
The vector store service in which the knowledge base is stored.
</p>

@param type
       The vector store service in which the knowledge base is stored.
@return Returns a reference to this object so that method calls can be chained together.
@see KnowledgeBaseStorageType
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/StorageConfiguration.java