Class SccNotificationConfigConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_notification_config.SccNotificationConfigConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccNotificationConfigConfig>
- Enclosing interface:
- SccNotificationConfigConfig
@Stability(Stable) public static final class SccNotificationConfigConfig.Builder extends Object implements software.amazon.jsii.Builder<SccNotificationConfigConfig>
A builder forSccNotificationConfigConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SccNotificationConfigConfigbuild()Builds the configured instance.SccNotificationConfigConfig.BuilderconfigId(String configId)Sets the value ofSccNotificationConfigConfig.getConfigId()SccNotificationConfigConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccNotificationConfigConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccNotificationConfigConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()SccNotificationConfigConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()SccNotificationConfigConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()SccNotificationConfigConfig.Builderdescription(String description)Sets the value ofSccNotificationConfigConfig.getDescription()SccNotificationConfigConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()SccNotificationConfigConfig.Builderid(String id)Sets the value ofSccNotificationConfigConfig.getId()SccNotificationConfigConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()SccNotificationConfigConfig.Builderorganization(String organization)Sets the value ofSccNotificationConfigConfig.getOrganization()SccNotificationConfigConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()SccNotificationConfigConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()SccNotificationConfigConfig.BuilderpubsubTopic(String pubsubTopic)Sets the value ofSccNotificationConfigConfig.getPubsubTopic()SccNotificationConfigConfig.BuilderstreamingConfig(SccNotificationConfigStreamingConfig streamingConfig)Sets the value ofSccNotificationConfigConfig.getStreamingConfig()SccNotificationConfigConfig.Buildertimeouts(SccNotificationConfigTimeouts timeouts)Sets the value ofSccNotificationConfigConfig.getTimeouts()
-
-
-
Method Detail
-
configId
@Stability(Stable) public SccNotificationConfigConfig.Builder configId(String configId)
Sets the value ofSccNotificationConfigConfig.getConfigId()- Parameters:
configId- This must be unique within the organization. This parameter is required. 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}- Returns:
this
-
organization
@Stability(Stable) public SccNotificationConfigConfig.Builder organization(String organization)
Sets the value ofSccNotificationConfigConfig.getOrganization()- Parameters:
organization- The organization whose Cloud Security Command Center the Notification Config lives in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_notification_config#organization SccNotificationConfig#organization}- Returns:
this
-
pubsubTopic
@Stability(Stable) public SccNotificationConfigConfig.Builder pubsubTopic(String pubsubTopic)
Sets the value ofSccNotificationConfigConfig.getPubsubTopic()- Parameters:
pubsubTopic- The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]". This parameter is required. 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}- Returns:
this
-
streamingConfig
@Stability(Stable) public SccNotificationConfigConfig.Builder streamingConfig(SccNotificationConfigStreamingConfig streamingConfig)
Sets the value ofSccNotificationConfigConfig.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_notification_config#streaming_config SccNotificationConfig#streaming_config}- Returns:
this
-
description
@Stability(Stable) public SccNotificationConfigConfig.Builder description(String description)
Sets the value ofSccNotificationConfigConfig.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_notification_config#description SccNotificationConfig#description}- Returns:
this
-
id
@Stability(Stable) public SccNotificationConfigConfig.Builder id(String id)
Sets the value ofSccNotificationConfigConfig.getId()- 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}. 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
-
timeouts
@Stability(Stable) public SccNotificationConfigConfig.Builder timeouts(SccNotificationConfigTimeouts timeouts)
Sets the value ofSccNotificationConfigConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public SccNotificationConfigConfig.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 SccNotificationConfigConfig.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 SccNotificationConfigConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SccNotificationConfigConfig.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 SccNotificationConfigConfig.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 SccNotificationConfigConfig.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 SccNotificationConfigConfig.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 SccNotificationConfigConfig.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 SccNotificationConfigConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SccNotificationConfigConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccNotificationConfigConfig>- Returns:
- a new instance of
SccNotificationConfigConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-