Class EventarcChannel.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static EventarcChannel.Builder create​(software.constructs.Construct scope,
                                                     String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of EventarcChannel.Builder.
      • connection

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

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

        @Stability(Experimental)
        public EventarcChannel.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

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

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

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

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

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

        @Stability(Experimental)
        public EventarcChannel.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public EventarcChannel.Builder location​(String location)
        The location for the resource.

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

        Parameters:
        location - The location for the resource. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public EventarcChannel.Builder name​(String name)
        Required. The resource name of the channel. Must be unique within the location on the project.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_channel#name EventarcChannel#name}

        Parameters:
        name - Required. The resource name of the channel. Must be unique within the location on the project. This parameter is required.
        Returns:
        this
      • cryptoKeyName

        @Stability(Stable)
        public EventarcChannel.Builder cryptoKeyName​(String cryptoKeyName)
        Optional.

        Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/* /locations/* /keyRings/* /cryptoKeys/*`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_channel#crypto_key_name EventarcChannel#crypto_key_name} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.

        Parameters:
        cryptoKeyName - Optional. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public EventarcChannel.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_channel#id EventarcChannel#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/eventarc_channel#id EventarcChannel#id}. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public EventarcChannel.Builder project​(String project)
        The project for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_channel#project EventarcChannel#project}

        Parameters:
        project - The project for the resource. This parameter is required.
        Returns:
        this
      • thirdPartyProvider

        @Stability(Stable)
        public EventarcChannel.Builder thirdPartyProvider​(String thirdPartyProvider)
        The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_channel#third_party_provider EventarcChannel#third_party_provider}

        Parameters:
        thirdPartyProvider - The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public EventarcChannel.Builder timeouts​(EventarcChannelTimeouts timeouts)
        timeouts block.

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

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