Class CloudIdsEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_ids_endpoint.CloudIdsEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudIdsEndpointConfig>
- Enclosing interface:
- CloudIdsEndpointConfig
@Stability(Stable) public static final class CloudIdsEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudIdsEndpointConfig>
A builder forCloudIdsEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudIdsEndpointConfigbuild()Builds the configured instance.CloudIdsEndpointConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdsEndpointConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdsEndpointConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()CloudIdsEndpointConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()CloudIdsEndpointConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()CloudIdsEndpointConfig.Builderdescription(String description)Sets the value ofCloudIdsEndpointConfig.getDescription()CloudIdsEndpointConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()CloudIdsEndpointConfig.Builderid(String id)Sets the value ofCloudIdsEndpointConfig.getId()CloudIdsEndpointConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()CloudIdsEndpointConfig.Builderlocation(String location)Sets the value ofCloudIdsEndpointConfig.getLocation()CloudIdsEndpointConfig.Buildername(String name)Sets the value ofCloudIdsEndpointConfig.getName()CloudIdsEndpointConfig.Buildernetwork(String network)Sets the value ofCloudIdsEndpointConfig.getNetwork()CloudIdsEndpointConfig.Builderproject(String project)Sets the value ofCloudIdsEndpointConfig.getProject()CloudIdsEndpointConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()CloudIdsEndpointConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()CloudIdsEndpointConfig.Builderseverity(String severity)Sets the value ofCloudIdsEndpointConfig.getSeverity()CloudIdsEndpointConfig.BuilderthreatExceptions(List<String> threatExceptions)Sets the value ofCloudIdsEndpointConfig.getThreatExceptions()CloudIdsEndpointConfig.Buildertimeouts(CloudIdsEndpointTimeouts timeouts)Sets the value ofCloudIdsEndpointConfig.getTimeouts()
-
-
-
Method Detail
-
location
@Stability(Stable) public CloudIdsEndpointConfig.Builder location(String location)
Sets the value ofCloudIdsEndpointConfig.getLocation()- Parameters:
location- The location for the endpoint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#location CloudIdsEndpoint#location}- Returns:
this
-
name
@Stability(Stable) public CloudIdsEndpointConfig.Builder name(String name)
Sets the value ofCloudIdsEndpointConfig.getName()- Parameters:
name- Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#name CloudIdsEndpoint#name}- Returns:
this
-
network
@Stability(Stable) public CloudIdsEndpointConfig.Builder network(String network)
Sets the value ofCloudIdsEndpointConfig.getNetwork()- Parameters:
network- Name of the VPC network that is connected to the IDS endpoint. This parameter is required. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net"). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#network CloudIdsEndpoint#network}- Returns:
this
-
severity
@Stability(Stable) public CloudIdsEndpointConfig.Builder severity(String severity)
Sets the value ofCloudIdsEndpointConfig.getSeverity()- Parameters:
severity- The minimum alert severity level that is reported by the endpoint. Possible values: ["INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#severity CloudIdsEndpoint#severity}- Returns:
this
-
description
@Stability(Stable) public CloudIdsEndpointConfig.Builder description(String description)
Sets the value ofCloudIdsEndpointConfig.getDescription()- Parameters:
description- An optional description of the endpoint. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#description CloudIdsEndpoint#description}- Returns:
this
-
id
@Stability(Stable) public CloudIdsEndpointConfig.Builder id(String id)
Sets the value ofCloudIdsEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#id CloudIdsEndpoint#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
-
project
@Stability(Stable) public CloudIdsEndpointConfig.Builder project(String project)
Sets the value ofCloudIdsEndpointConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#project CloudIdsEndpoint#project}.- Returns:
this
-
threatExceptions
@Stability(Stable) public CloudIdsEndpointConfig.Builder threatExceptions(List<String> threatExceptions)
Sets the value ofCloudIdsEndpointConfig.getThreatExceptions()- Parameters:
threatExceptions- Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#threat_exceptions CloudIdsEndpoint#threat_exceptions}- Returns:
this
-
timeouts
@Stability(Stable) public CloudIdsEndpointConfig.Builder timeouts(CloudIdsEndpointTimeouts timeouts)
Sets the value ofCloudIdsEndpointConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_ids_endpoint#timeouts CloudIdsEndpoint#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.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 CloudIdsEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CloudIdsEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudIdsEndpointConfig>- Returns:
- a new instance of
CloudIdsEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-