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