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

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