Class FirestoreIndexFields.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arrayConfig

        @Stability(Stable)
        public FirestoreIndexFields.Builder arrayConfig​(String arrayConfig)
        Parameters:
        arrayConfig - Indicates that this field supports operations on arrayValues. Only one of 'order', 'arrayConfig', and 'vectorConfig' can be specified. Possible values: ["CONTAINS"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_index#array_config FirestoreIndex#array_config}
        Returns:
        this
      • fieldPath

        @Stability(Stable)
        public FirestoreIndexFields.Builder fieldPath​(String fieldPath)
        Parameters:
        fieldPath - Name of the field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_index#field_path FirestoreIndex#field_path}
        Returns:
        this
      • order

        @Stability(Stable)
        public FirestoreIndexFields.Builder order​(String order)
        Parameters:
        order - Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=. Only one of 'order', 'arrayConfig', and 'vectorConfig' can be specified. Possible values: ["ASCENDING", "DESCENDING"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_index#order FirestoreIndex#order}
        Returns:
        this