Class ProjectArgs.Builder

  • Enclosing class:
    ProjectArgs

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

      • Builder

        public Builder()
    • Method Detail

      • autoCreateNetwork

        public ProjectArgs.Builder autoCreateNetwork​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> autoCreateNetwork)
        Parameters:
        autoCreateNetwork - Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
        Returns:
        builder
      • autoCreateNetwork

        public ProjectArgs.Builder autoCreateNetwork​(java.lang.Boolean autoCreateNetwork)
        Parameters:
        autoCreateNetwork - Create the 'default' network automatically. Default true. If set to false, the default network will be deleted. Note that, for quota purposes, you will still need to have 1 network slot available to create the project successfully, even if you set auto_create_network to false, since the network will exist momentarily.
        Returns:
        builder
      • billingAccount

        public ProjectArgs.Builder billingAccount​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> billingAccount)
        Parameters:
        billingAccount - The alphanumeric ID of the billing account this project belongs to. The user or service account performing this operation with the provider must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account. See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access) for more details.
        Returns:
        builder
      • billingAccount

        public ProjectArgs.Builder billingAccount​(java.lang.String billingAccount)
        Parameters:
        billingAccount - The alphanumeric ID of the billing account this project belongs to. The user or service account performing this operation with the provider must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account. See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access) for more details.
        Returns:
        builder
      • folderId

        public ProjectArgs.Builder folderId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> folderId)
        Parameters:
        folderId - The numeric ID of the folder this project should be created under. Only one of `org_id` or `folder_id` may be specified. If the `folder_id` is specified, then the project is created under the specified folder. Changing this forces the project to be migrated to the newly specified folder.
        Returns:
        builder
      • folderId

        public ProjectArgs.Builder folderId​(java.lang.String folderId)
        Parameters:
        folderId - The numeric ID of the folder this project should be created under. Only one of `org_id` or `folder_id` may be specified. If the `folder_id` is specified, then the project is created under the specified folder. Changing this forces the project to be migrated to the newly specified folder.
        Returns:
        builder
      • labels

        public ProjectArgs.Builder labels​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - A set of key/value label pairs to assign to the project. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
        Returns:
        builder
      • labels

        public ProjectArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - A set of key/value label pairs to assign to the project. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
        Returns:
        builder
      • name

        public ProjectArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The display name of the project.
        Returns:
        builder
      • name

        public ProjectArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The display name of the project.
        Returns:
        builder
      • orgId

        public ProjectArgs.Builder orgId​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> orgId)
        Parameters:
        orgId - The numeric ID of the organization this project belongs to. Changing this forces a new project to be created. Only one of `org_id` or `folder_id` may be specified. If the `org_id` is specified then the project is created at the top level. Changing this forces the project to be migrated to the newly specified organization.
        Returns:
        builder
      • orgId

        public ProjectArgs.Builder orgId​(java.lang.String orgId)
        Parameters:
        orgId - The numeric ID of the organization this project belongs to. Changing this forces a new project to be created. Only one of `org_id` or `folder_id` may be specified. If the `org_id` is specified then the project is created at the top level. Changing this forces the project to be migrated to the newly specified organization.
        Returns:
        builder
      • projectId

        public ProjectArgs.Builder projectId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> projectId)
        Parameters:
        projectId - The project ID. Changing this forces a new project to be created.
        Returns:
        builder
      • projectId

        public ProjectArgs.Builder projectId​(java.lang.String projectId)
        Parameters:
        projectId - The project ID. Changing this forces a new project to be created.
        Returns:
        builder
      • skipDelete

        public ProjectArgs.Builder skipDelete​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> skipDelete)
        Parameters:
        skipDelete - If true, the resource can be deleted without deleting the Project via the Google API.
        Returns:
        builder
      • skipDelete

        public ProjectArgs.Builder skipDelete​(java.lang.Boolean skipDelete)
        Parameters:
        skipDelete - If true, the resource can be deleted without deleting the Project via the Google API.
        Returns:
        builder