milvus-logo
Star
0
Forks
0
Get Started

Class CreateAliasParam.Builder

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

      • withCollectionName

        public CreateAliasParam.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 CreateAliasParam.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