Class SccV2OrganizationSourceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.scc_v2_organization_source.SccV2OrganizationSourceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SccV2OrganizationSourceConfig>
- Enclosing interface:
- SccV2OrganizationSourceConfig
@Stability(Stable) public static final class SccV2OrganizationSourceConfig.Builder extends Object implements software.amazon.jsii.Builder<SccV2OrganizationSourceConfig>
A builder forSccV2OrganizationSourceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SccV2OrganizationSourceConfigbuild()Builds the configured instance.SccV2OrganizationSourceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccV2OrganizationSourceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SccV2OrganizationSourceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()SccV2OrganizationSourceConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()SccV2OrganizationSourceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()SccV2OrganizationSourceConfig.Builderdescription(String description)Sets the value ofSccV2OrganizationSourceConfig.getDescription()SccV2OrganizationSourceConfig.BuilderdisplayName(String displayName)Sets the value ofSccV2OrganizationSourceConfig.getDisplayName()SccV2OrganizationSourceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()SccV2OrganizationSourceConfig.Builderid(String id)Sets the value ofSccV2OrganizationSourceConfig.getId()SccV2OrganizationSourceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()SccV2OrganizationSourceConfig.Builderorganization(String organization)Sets the value ofSccV2OrganizationSourceConfig.getOrganization()SccV2OrganizationSourceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()SccV2OrganizationSourceConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()SccV2OrganizationSourceConfig.Buildertimeouts(SccV2OrganizationSourceTimeouts timeouts)Sets the value ofSccV2OrganizationSourceConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public SccV2OrganizationSourceConfig.Builder displayName(String displayName)
Sets the value ofSccV2OrganizationSourceConfig.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_v2_organization_source#display_name SccV2OrganizationSource#display_name}- Returns:
this
-
organization
@Stability(Stable) public SccV2OrganizationSourceConfig.Builder organization(String organization)
Sets the value ofSccV2OrganizationSourceConfig.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_v2_organization_source#organization SccV2OrganizationSource#organization}- Returns:
this
-
description
@Stability(Stable) public SccV2OrganizationSourceConfig.Builder description(String description)
Sets the value ofSccV2OrganizationSourceConfig.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_v2_organization_source#description SccV2OrganizationSource#description}- Returns:
this
-
id
@Stability(Stable) public SccV2OrganizationSourceConfig.Builder id(String id)
Sets the value ofSccV2OrganizationSourceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_organization_source#id SccV2OrganizationSource#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 SccV2OrganizationSourceConfig.Builder timeouts(SccV2OrganizationSourceTimeouts timeouts)
Sets the value ofSccV2OrganizationSourceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/scc_v2_organization_source#timeouts SccV2OrganizationSource#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.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 SccV2OrganizationSourceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SccV2OrganizationSourceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SccV2OrganizationSourceConfig>- Returns:
- a new instance of
SccV2OrganizationSourceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-