Class SccV2FolderNotificationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_v2_folder_notification_config.SccV2FolderNotificationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccV2FolderNotificationConfig>
- Enclosing class:
- SccV2FolderNotificationConfig
@Stability(Stable) public static final class SccV2FolderNotificationConfig.Builder extends Object implements software.amazon.jsii.Builder<SccV2FolderNotificationConfig>
A fluent builder forSccV2FolderNotificationConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SccV2FolderNotificationConfigbuild()SccV2FolderNotificationConfig.BuilderconfigId(String configId)This must be unique within the organization.SccV2FolderNotificationConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SccV2FolderNotificationConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SccV2FolderNotificationConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)SccV2FolderNotificationConfig.Buildercount(Number count)static SccV2FolderNotificationConfig.Buildercreate(software.constructs.Construct scope, String id)SccV2FolderNotificationConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SccV2FolderNotificationConfig.Builderdescription(String description)The description of the notification config (max of 1024 characters).SccV2FolderNotificationConfig.Builderfolder(String folder)Numerical ID of the parent folder.SccV2FolderNotificationConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SccV2FolderNotificationConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#id SccV2FolderNotificationConfig#id}.SccV2FolderNotificationConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SccV2FolderNotificationConfig.Builderlocation(String location)Location ID of the parent organization.SccV2FolderNotificationConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SccV2FolderNotificationConfig.Builderprovisioners(List<? extends Object> provisioners)SccV2FolderNotificationConfig.BuilderpubsubTopic(String pubsubTopic)The Pub/Sub topic to send notifications to.SccV2FolderNotificationConfig.BuilderstreamingConfig(SccV2FolderNotificationConfigStreamingConfig streamingConfig)streaming_config block.SccV2FolderNotificationConfig.Buildertimeouts(SccV2FolderNotificationConfigTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SccV2FolderNotificationConfig.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
SccV2FolderNotificationConfig.Builder.
-
connection
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SccV2FolderNotificationConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
configId
@Stability(Stable) public SccV2FolderNotificationConfig.Builder configId(String configId)
This must be unique within the organization.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#config_id SccV2FolderNotificationConfig#config_id}
- Parameters:
configId- This must be unique within the organization. This parameter is required.- Returns:
this
-
folder
@Stability(Stable) public SccV2FolderNotificationConfig.Builder folder(String folder)
Numerical ID of the parent folder.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#folder SccV2FolderNotificationConfig#folder}
- Parameters:
folder- Numerical ID of the parent folder. This parameter is required.- Returns:
this
-
pubsubTopic
@Stability(Stable) public SccV2FolderNotificationConfig.Builder pubsubTopic(String pubsubTopic)
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#pubsub_topic SccV2FolderNotificationConfig#pubsub_topic}
- Parameters:
pubsubTopic- The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]". This parameter is required.- Returns:
this
-
streamingConfig
@Stability(Stable) public SccV2FolderNotificationConfig.Builder streamingConfig(SccV2FolderNotificationConfigStreamingConfig streamingConfig)
streaming_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#streaming_config SccV2FolderNotificationConfig#streaming_config}
- Parameters:
streamingConfig- streaming_config block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public SccV2FolderNotificationConfig.Builder description(String description)
The description of the notification config (max of 1024 characters).Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#description SccV2FolderNotificationConfig#description}
- Parameters:
description- The description of the notification config (max of 1024 characters). This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SccV2FolderNotificationConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#id SccV2FolderNotificationConfig#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#id SccV2FolderNotificationConfig#id}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public SccV2FolderNotificationConfig.Builder location(String location)
Location ID of the parent organization. If not provided, 'global' will be used as the default location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#location SccV2FolderNotificationConfig#location}
- Parameters:
location- Location ID of the parent organization. If not provided, 'global' will be used as the default location. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SccV2FolderNotificationConfig.Builder timeouts(SccV2FolderNotificationConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_folder_notification_config#timeouts SccV2FolderNotificationConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SccV2FolderNotificationConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccV2FolderNotificationConfig>- Returns:
- a newly built instance of
SccV2FolderNotificationConfig.
-
-