Class SecureSourceManagerInstanceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.secure_source_manager_instance.SecureSourceManagerInstanceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecureSourceManagerInstanceConfig>
- Enclosing interface:
- SecureSourceManagerInstanceConfig
@Stability(Stable) public static final class SecureSourceManagerInstanceConfig.Builder extends Object implements software.amazon.jsii.Builder<SecureSourceManagerInstanceConfig>
A builder forSecureSourceManagerInstanceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
instanceId
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder instanceId(String instanceId)
Sets the value ofSecureSourceManagerInstanceConfig.getInstanceId()- Parameters:
instanceId- The name for the Instance. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#instance_id SecureSourceManagerInstance#instance_id}- Returns:
this
-
location
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder location(String location)
Sets the value ofSecureSourceManagerInstanceConfig.getLocation()- Parameters:
location- The location for the Instance. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#location SecureSourceManagerInstance#location}- Returns:
this
-
id
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder id(String id)
Sets the value ofSecureSourceManagerInstanceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#id SecureSourceManagerInstance#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
-
kmsKey
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder kmsKey(String kmsKey)
Sets the value ofSecureSourceManagerInstanceConfig.getKmsKey()- Parameters:
kmsKey- Customer-managed encryption key name, in the format projects/* /locations/* /keyRings/* /cryptoKeys/*. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#kms_key SecureSourceManagerInstance#kms_key} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
labels
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder labels(Map<String,String> labels)
Sets the value ofSecureSourceManagerInstanceConfig.getLabels()- Parameters:
labels- Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#labels SecureSourceManagerInstance#labels}- Returns:
this
-
privateConfig
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder privateConfig(SecureSourceManagerInstancePrivateConfig privateConfig)
Sets the value ofSecureSourceManagerInstanceConfig.getPrivateConfig()- Parameters:
privateConfig- private_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#private_config SecureSourceManagerInstance#private_config}- Returns:
this
-
project
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder project(String project)
Sets the value ofSecureSourceManagerInstanceConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#project SecureSourceManagerInstance#project}.- Returns:
this
-
timeouts
@Stability(Stable) public SecureSourceManagerInstanceConfig.Builder timeouts(SecureSourceManagerInstanceTimeouts timeouts)
Sets the value ofSecureSourceManagerInstanceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secure_source_manager_instance#timeouts SecureSourceManagerInstance#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.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 SecureSourceManagerInstanceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SecureSourceManagerInstanceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecureSourceManagerInstanceConfig>- Returns:
- a new instance of
SecureSourceManagerInstanceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-