milvus-logo

Class AlterAliasParam.Builder

  • java.lang.Object
    • io.milvus.param.alias.AlterAliasParam.Builder
    • Method Detail

      • withCollectionName

        public AlterAliasParam.Builder withCollectionName​(@NonNull
                                                          @NonNull java.lang.String collectionName)
        Sets the collection name. Collection name cannot be empty or null.
        Parameters:
        collectionName - collection name
        Returns:
        Builder
      • withAlias

        public AlterAliasParam.Builder withAlias​(@NonNull
                                                 @NonNull java.lang.String alias)
        Sets the collection alias. Collection alias cannot be empty or null.
        Parameters:
        alias - alias of the collection
        Returns:
        Builder