Class SccSourceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_source.SccSourceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccSourceConfig>
- Enclosing interface:
- SccSourceConfig
@Stability(Stable) public static final class SccSourceConfig.Builder extends Object implements software.amazon.jsii.Builder<SccSourceConfig>
A builder forSccSourceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SccSourceConfigbuild()Builds the configured instance.SccSourceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccSourceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccSourceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()SccSourceConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()SccSourceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()SccSourceConfig.Builderdescription(String description)Sets the value ofSccSourceConfig.getDescription()SccSourceConfig.BuilderdisplayName(String displayName)Sets the value ofSccSourceConfig.getDisplayName()SccSourceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()SccSourceConfig.Builderid(String id)Sets the value ofSccSourceConfig.getId()SccSourceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()SccSourceConfig.Builderorganization(String organization)Sets the value ofSccSourceConfig.getOrganization()SccSourceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()SccSourceConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()SccSourceConfig.Buildertimeouts(SccSourceTimeouts timeouts)Sets the value ofSccSourceConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public SccSourceConfig.Builder displayName(String displayName)
Sets the value ofSccSourceConfig.getDisplayName()- Parameters:
displayName- The source’s display name. This parameter is required. A source’s display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_source#display_name SccSource#display_name}- Returns:
this
-
organization
@Stability(Stable) public SccSourceConfig.Builder organization(String organization)
Sets the value ofSccSourceConfig.getOrganization()- Parameters:
organization- The organization whose Cloud Security Command Center the Source lives in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_source#organization SccSource#organization}- Returns:
this
-
description
@Stability(Stable) public SccSourceConfig.Builder description(String description)
Sets the value ofSccSourceConfig.getDescription()- Parameters:
description- The description of the source (max of 1024 characters). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_source#description SccSource#description}- Returns:
this
-
id
@Stability(Stable) public SccSourceConfig.Builder id(String id)
Sets the value ofSccSourceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_source#id SccSource#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 SccSourceConfig.Builder timeouts(SccSourceTimeouts timeouts)
Sets the value ofSccSourceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_source#timeouts SccSource#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public SccSourceConfig.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 SccSourceConfig.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 SccSourceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SccSourceConfig.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 SccSourceConfig.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 SccSourceConfig.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 SccSourceConfig.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 SccSourceConfig.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 SccSourceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SccSourceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccSourceConfig>- Returns:
- a new instance of
SccSourceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-