Class SccV2ProjectNotificationConfig.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public SccV2ProjectNotificationConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • configId

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder configId​(String configId)
        This must be unique within the project.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#config_id SccV2ProjectNotificationConfig#config_id}

        Parameters:
        configId - This must be unique within the project. This parameter is required.
        Returns:
        this
      • streamingConfig

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder streamingConfig​(SccV2ProjectNotificationConfigStreamingConfig streamingConfig)
        streaming_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#streaming_config SccV2ProjectNotificationConfig#streaming_config}

        Parameters:
        streamingConfig - streaming_config block. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder description​(String description)
        The description of the notification config (max of 1024 characters).

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#description SccV2ProjectNotificationConfig#description}

        Parameters:
        description - The description of the notification config (max of 1024 characters). This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#id SccV2ProjectNotificationConfig#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#id SccV2ProjectNotificationConfig#id}. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder location​(String location)
        Location ID of the parent organization. Only global is supported at the moment.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#location SccV2ProjectNotificationConfig#location}

        Parameters:
        location - Location ID of the parent organization. Only global is supported at the moment. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#project SccV2ProjectNotificationConfig#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#project SccV2ProjectNotificationConfig#project}. This parameter is required.
        Returns:
        this
      • pubsubTopic

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder pubsubTopic​(String pubsubTopic)
        The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#pubsub_topic SccV2ProjectNotificationConfig#pubsub_topic}

        Parameters:
        pubsubTopic - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]". This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public SccV2ProjectNotificationConfig.Builder timeouts​(SccV2ProjectNotificationConfigTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_project_notification_config#timeouts SccV2ProjectNotificationConfig#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this