Class SccNotificationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_notification_config.SccNotificationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccNotificationConfig>
- Enclosing class:
- SccNotificationConfig
@Stability(Stable) public static final class SccNotificationConfig.Builder extends Object implements software.amazon.jsii.Builder<SccNotificationConfig>
A fluent builder forSccNotificationConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SccNotificationConfigbuild()SccNotificationConfig.BuilderconfigId(String configId)This must be unique within the organization.SccNotificationConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SccNotificationConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SccNotificationConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)SccNotificationConfig.Buildercount(Number count)static SccNotificationConfig.Buildercreate(software.constructs.Construct scope, String id)SccNotificationConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SccNotificationConfig.Builderdescription(String description)The description of the notification config (max of 1024 characters).SccNotificationConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SccNotificationConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#id SccNotificationConfig#id}.SccNotificationConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SccNotificationConfig.Builderorganization(String organization)The organization whose Cloud Security Command Center the Notification Config lives in.SccNotificationConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SccNotificationConfig.Builderprovisioners(List<? extends Object> provisioners)SccNotificationConfig.BuilderpubsubTopic(String pubsubTopic)The Pub/Sub topic to send notifications to.SccNotificationConfig.BuilderstreamingConfig(SccNotificationConfigStreamingConfig streamingConfig)streaming_config block.SccNotificationConfig.Buildertimeouts(SccNotificationConfigTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SccNotificationConfig.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
SccNotificationConfig.Builder.
-
connection
@Stability(Experimental) public SccNotificationConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SccNotificationConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccNotificationConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SccNotificationConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SccNotificationConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SccNotificationConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SccNotificationConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SccNotificationConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SccNotificationConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
configId
@Stability(Stable) public SccNotificationConfig.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_notification_config#config_id SccNotificationConfig#config_id}
- Parameters:
configId- This must be unique within the organization. This parameter is required.- Returns:
this
-
organization
@Stability(Stable) public SccNotificationConfig.Builder organization(String organization)
The organization whose Cloud Security Command Center the Notification Config lives in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#organization SccNotificationConfig#organization}
- Parameters:
organization- The organization whose Cloud Security Command Center the Notification Config lives in. This parameter is required.- Returns:
this
-
pubsubTopic
@Stability(Stable) public SccNotificationConfig.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_notification_config#pubsub_topic SccNotificationConfig#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 SccNotificationConfig.Builder streamingConfig(SccNotificationConfigStreamingConfig streamingConfig)
streaming_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#streaming_config SccNotificationConfig#streaming_config}
- Parameters:
streamingConfig- streaming_config block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public SccNotificationConfig.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_notification_config#description SccNotificationConfig#description}
- Parameters:
description- The description of the notification config (max of 1024 characters). This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SccNotificationConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#id SccNotificationConfig#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_notification_config#id SccNotificationConfig#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SccNotificationConfig.Builder timeouts(SccNotificationConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#timeouts SccNotificationConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SccNotificationConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccNotificationConfig>- Returns:
- a newly built instance of
SccNotificationConfig.
-
-