Class DocumentArgs.Builder

  • Enclosing class:
    DocumentArgs

    public static final class DocumentArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • collection

        public DocumentArgs.Builder collection​(com.pulumi.core.Output<java.lang.String> collection)
        Parameters:
        collection - The collection ID, relative to database. For example: chatrooms or chatrooms/my-document/private-messages.
        Returns:
        builder
      • collection

        public DocumentArgs.Builder collection​(java.lang.String collection)
        Parameters:
        collection - The collection ID, relative to database. For example: chatrooms or chatrooms/my-document/private-messages.
        Returns:
        builder
      • database

        public DocumentArgs.Builder database​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> database)
        Parameters:
        database - The Firestore database id. Defaults to `"(default)"`.
        Returns:
        builder
      • database

        public DocumentArgs.Builder database​(java.lang.String database)
        Parameters:
        database - The Firestore database id. Defaults to `"(default)"`.
        Returns:
        builder
      • documentId

        public DocumentArgs.Builder documentId​(com.pulumi.core.Output<java.lang.String> documentId)
        Parameters:
        documentId - The client-assigned document ID to use for this document during creation. ***
        Returns:
        builder
      • documentId

        public DocumentArgs.Builder documentId​(java.lang.String documentId)
        Parameters:
        documentId - The client-assigned document ID to use for this document during creation. ***
        Returns:
        builder
      • fields

        public DocumentArgs.Builder fields​(com.pulumi.core.Output<java.lang.String> fields)
        Parameters:
        fields - The document's [fields](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents) formated as a json string.
        Returns:
        builder
      • fields

        public DocumentArgs.Builder fields​(java.lang.String fields)
        Parameters:
        fields - The document's [fields](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents) formated as a json string.
        Returns:
        builder
      • project

        public DocumentArgs.Builder project​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public DocumentArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder