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