Class 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
      • withDatabaseName

        public AlterAliasParam.Builder withDatabaseName​(java.lang.String databaseName)
        Sets the database name. database name can be nil.
        Parameters:
        databaseName - database 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