Class EventarcTriggerDestinationGke.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cluster

        @Stability(Stable)
        public EventarcTriggerDestinationGke.Builder cluster​(String cluster)
        Parameters:
        cluster - Required. This parameter is required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#cluster EventarcTrigger#cluster}
        Returns:
        this
      • location

        @Stability(Stable)
        public EventarcTriggerDestinationGke.Builder location​(String location)
        Parameters:
        location - Required. This parameter is required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#location EventarcTrigger#location}
        Returns:
        this
      • namespace

        @Stability(Stable)
        public EventarcTriggerDestinationGke.Builder namespace​(String namespace)
        Parameters:
        namespace - Required. The namespace the GKE service is running in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#namespace EventarcTrigger#namespace}
        Returns:
        this
      • service

        @Stability(Stable)
        public EventarcTriggerDestinationGke.Builder service​(String service)
        Parameters:
        service - Required. Name of the GKE service. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#service EventarcTrigger#service}
        Returns:
        this
      • path

        @Stability(Stable)
        public EventarcTriggerDestinationGke.Builder path​(String path)
        Parameters:
        path - Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#path EventarcTrigger#path}
        Returns:
        this