Class SccProjectNotificationConfigStreamingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_project_notification_config.SccProjectNotificationConfigStreamingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccProjectNotificationConfigStreamingConfig>
- Enclosing interface:
- SccProjectNotificationConfigStreamingConfig
@Stability(Stable) public static final class SccProjectNotificationConfigStreamingConfig.Builder extends Object implements software.amazon.jsii.Builder<SccProjectNotificationConfigStreamingConfig>
A builder forSccProjectNotificationConfigStreamingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SccProjectNotificationConfigStreamingConfigbuild()Builds the configured instance.SccProjectNotificationConfigStreamingConfig.Builderfilter(String filter)Sets the value ofSccProjectNotificationConfigStreamingConfig.getFilter()
-
-
-
Method Detail
-
filter
@Stability(Stable) public SccProjectNotificationConfigStreamingConfig.Builder filter(String filter)
Sets the value ofSccProjectNotificationConfigStreamingConfig.getFilter()- Parameters:
filter- Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. This parameter is required. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the formand may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * > , <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes. See [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications) for information on how to write a filter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_project_notification_config#filter SccProjectNotificationConfig#filter} - Returns:
this
-
build
@Stability(Stable) public SccProjectNotificationConfigStreamingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccProjectNotificationConfigStreamingConfig>- Returns:
- a new instance of
SccProjectNotificationConfigStreamingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-