Class DescribeIndexParam.Builder

    • Method Detail

      • withDatabaseName

        public DescribeIndexParam.Builder withDatabaseName​(String databaseName)
        Sets the database name. database name can be nil.
        Parameters:
        databaseName - database name
        Returns:
        Builder
      • withCollectionName

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

        public DescribeIndexParam.Builder withIndexName​(String indexName)
        Sets the target index name. Index name can be empty or null. If no index name is specified, then return all this collection indexes.
        Parameters:
        indexName - field name
        Returns:
        Builder