Class Cloudfunctions2FunctionEventTriggerEventFilters.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudfunctions2_function.Cloudfunctions2FunctionEventTriggerEventFilters.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudfunctions2FunctionEventTriggerEventFilters>
- Enclosing interface:
- Cloudfunctions2FunctionEventTriggerEventFilters
@Stability(Stable) public static final class Cloudfunctions2FunctionEventTriggerEventFilters.Builder extends Object implements software.amazon.jsii.Builder<Cloudfunctions2FunctionEventTriggerEventFilters>
A builder forCloudfunctions2FunctionEventTriggerEventFilters
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cloudfunctions2FunctionEventTriggerEventFilters.Builderattribute(String attribute)Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getAttribute()Cloudfunctions2FunctionEventTriggerEventFiltersbuild()Builds the configured instance.Cloudfunctions2FunctionEventTriggerEventFilters.Builderoperator(String operator)Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getOperator()Cloudfunctions2FunctionEventTriggerEventFilters.Buildervalue(String value)Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getValue()
-
-
-
Method Detail
-
attribute
@Stability(Stable) public Cloudfunctions2FunctionEventTriggerEventFilters.Builder attribute(String attribute)
Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getAttribute()- Parameters:
attribute- 'Required. This parameter is required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#attribute Cloudfunctions2Function#attribute}- Returns:
this
-
value
@Stability(Stable) public Cloudfunctions2FunctionEventTriggerEventFilters.Builder value(String value)
Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getValue()- Parameters:
value- Required. This parameter is required. The value for the attribute. If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#value Cloudfunctions2Function#value}- Returns:
this
-
operator
@Stability(Stable) public Cloudfunctions2FunctionEventTriggerEventFilters.Builder operator(String operator)
Sets the value ofCloudfunctions2FunctionEventTriggerEventFilters.getOperator()- 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'. [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#operator Cloudfunctions2Function#operator}- Returns:
this
-
build
@Stability(Stable) public Cloudfunctions2FunctionEventTriggerEventFilters build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudfunctions2FunctionEventTriggerEventFilters>- Returns:
- a new instance of
Cloudfunctions2FunctionEventTriggerEventFilters - Throws:
NullPointerException- if any required attribute was not provided
-
-