Package com.pulumi.gcp.firestore
Class DocumentArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.firestore.DocumentArgs.Builder
-
- Enclosing class:
- DocumentArgs
public static final class DocumentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentArgs
build()
DocumentArgs.Builder
collection(com.pulumi.core.Output<java.lang.String> collection)
DocumentArgs.Builder
collection(java.lang.String collection)
DocumentArgs.Builder
database(com.pulumi.core.Output<java.lang.String> database)
DocumentArgs.Builder
database(java.lang.String database)
DocumentArgs.Builder
documentId(com.pulumi.core.Output<java.lang.String> documentId)
DocumentArgs.Builder
documentId(java.lang.String documentId)
DocumentArgs.Builder
fields(com.pulumi.core.Output<java.lang.String> fields)
DocumentArgs.Builder
fields(java.lang.String fields)
DocumentArgs.Builder
project(com.pulumi.core.Output<java.lang.String> project)
DocumentArgs.Builder
project(java.lang.String project)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumentArgs defaults)
-
-
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
-
build
public DocumentArgs build()
-
-