public void setType(String type) {
        this.type = type;
    }
<p>
The collection type.
</p>

@param type
       The collection type.
@see CollectionType
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/UpdateCollectionDetail.java