Class SccV2ProjectNotificationConfigConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_v2_project_notification_config.SccV2ProjectNotificationConfigConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccV2ProjectNotificationConfigConfig>
- Enclosing interface:
- SccV2ProjectNotificationConfigConfig
@Stability(Stable) public static final class SccV2ProjectNotificationConfigConfig.Builder extends Object implements software.amazon.jsii.Builder<SccV2ProjectNotificationConfigConfig>
A builder forSccV2ProjectNotificationConfigConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
configId
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder configId(String configId)
Sets the value ofSccV2ProjectNotificationConfigConfig.getConfigId()- Parameters:
configId- This must be unique within the project. This parameter is required. 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}- Returns:
this
-
streamingConfig
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder streamingConfig(SccV2ProjectNotificationConfigStreamingConfig streamingConfig)
Sets the value ofSccV2ProjectNotificationConfigConfig.getStreamingConfig()- Parameters:
streamingConfig- streaming_config block. This parameter is required. 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}- Returns:
this
-
description
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder description(String description)
Sets the value ofSccV2ProjectNotificationConfigConfig.getDescription()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder id(String id)
Sets the value ofSccV2ProjectNotificationConfigConfig.getId()- 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}. 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.- Returns:
this
-
location
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder location(String location)
Sets the value ofSccV2ProjectNotificationConfigConfig.getLocation()- Parameters:
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}- Returns:
this
-
project
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder project(String project)
Sets the value ofSccV2ProjectNotificationConfigConfig.getProject()- 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}.- Returns:
this
-
pubsubTopic
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder pubsubTopic(String pubsubTopic)
Sets the value ofSccV2ProjectNotificationConfigConfig.getPubsubTopic()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public SccV2ProjectNotificationConfigConfig.Builder timeouts(SccV2ProjectNotificationConfigTimeouts timeouts)
Sets the value ofSccV2ProjectNotificationConfigConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public SccV2ProjectNotificationConfigConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SccV2ProjectNotificationConfigConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccV2ProjectNotificationConfigConfig>- Returns:
- a new instance of
SccV2ProjectNotificationConfigConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-