Class EventarcTriggerMatchingCriteria.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • attribute

        @Stability(Stable)
        public EventarcTriggerMatchingCriteria.Builder attribute​(String attribute)
        Parameters:
        attribute - Required. This parameter is required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#attribute EventarcTrigger#attribute}
        Returns:
        this
      • value

        @Stability(Stable)
        public EventarcTriggerMatchingCriteria.Builder value​(String value)
        Parameters:
        value - Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#value EventarcTrigger#value}
        Returns:
        this
      • operator

        @Stability(Stable)
        public EventarcTriggerMatchingCriteria.Builder operator​(String operator)
        Parameters:
        operator - Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_trigger#operator EventarcTrigger#operator}
        Returns:
        this