Class SccV2FolderNotificationConfigStreamingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_v2_folder_notification_config.SccV2FolderNotificationConfigStreamingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccV2FolderNotificationConfigStreamingConfig>
- Enclosing interface:
- SccV2FolderNotificationConfigStreamingConfig
@Stability(Stable) public static final class SccV2FolderNotificationConfigStreamingConfig.Builder extends Object implements software.amazon.jsii.Builder<SccV2FolderNotificationConfigStreamingConfig>
A builder forSccV2FolderNotificationConfigStreamingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SccV2FolderNotificationConfigStreamingConfigbuild()Builds the configured instance.SccV2FolderNotificationConfigStreamingConfig.Builderfilter(String filter)Sets the value ofSccV2FolderNotificationConfigStreamingConfig.getFilter()
-
-
-
Method Detail
-
filter
@Stability(Stable) public SccV2FolderNotificationConfigStreamingConfig.Builder filter(String filter)
Sets the value ofSccV2FolderNotificationConfigStreamingConfig.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_v2_folder_notification_config#filter SccV2FolderNotificationConfig#filter} - Returns:
this
-
build
@Stability(Stable) public SccV2FolderNotificationConfigStreamingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccV2FolderNotificationConfigStreamingConfig>- Returns:
- a new instance of
SccV2FolderNotificationConfigStreamingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-