Class ApigeeEnvReferencesConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_env_references.ApigeeEnvReferencesConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeEnvReferencesConfig>
- Enclosing interface:
- ApigeeEnvReferencesConfig
@Stability(Stable) public static final class ApigeeEnvReferencesConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeEnvReferencesConfig>
A builder forApigeeEnvReferencesConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApigeeEnvReferencesConfigbuild()Builds the configured instance.ApigeeEnvReferencesConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeEnvReferencesConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeEnvReferencesConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApigeeEnvReferencesConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApigeeEnvReferencesConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApigeeEnvReferencesConfig.Builderdescription(String description)Sets the value ofApigeeEnvReferencesConfig.getDescription()ApigeeEnvReferencesConfig.BuilderenvId(String envId)Sets the value ofApigeeEnvReferencesConfig.getEnvId()ApigeeEnvReferencesConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApigeeEnvReferencesConfig.Builderid(String id)Sets the value ofApigeeEnvReferencesConfig.getId()ApigeeEnvReferencesConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApigeeEnvReferencesConfig.Buildername(String name)Sets the value ofApigeeEnvReferencesConfig.getName()ApigeeEnvReferencesConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApigeeEnvReferencesConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApigeeEnvReferencesConfig.Builderrefers(String refers)Sets the value ofApigeeEnvReferencesConfig.getRefers()ApigeeEnvReferencesConfig.BuilderresourceType(String resourceType)Sets the value ofApigeeEnvReferencesConfig.getResourceType()ApigeeEnvReferencesConfig.Buildertimeouts(ApigeeEnvReferencesTimeouts timeouts)Sets the value ofApigeeEnvReferencesConfig.getTimeouts()
-
-
-
Method Detail
-
envId
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder envId(String envId)
Sets the value ofApigeeEnvReferencesConfig.getEnvId()- Parameters:
envId- The Apigee environment group associated with the Apigee environment, in the format 'organizations/{{org_name}}/environments/{{env_name}}'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#env_id ApigeeEnvReferences#env_id}- Returns:
this
-
name
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder name(String name)
Sets the value ofApigeeEnvReferencesConfig.getName()- Parameters:
name- Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#name ApigeeEnvReferences#name}- Returns:
this
-
refers
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder refers(String refers)
Sets the value ofApigeeEnvReferencesConfig.getRefers()- Parameters:
refers- Required. This parameter is required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#refers ApigeeEnvReferences#refers}- Returns:
this
-
resourceType
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder resourceType(String resourceType)
Sets the value ofApigeeEnvReferencesConfig.getResourceType()- Parameters:
resourceType- The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#resource_type ApigeeEnvReferences#resource_type}- Returns:
this
-
description
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder description(String description)
Sets the value ofApigeeEnvReferencesConfig.getDescription()- Parameters:
description- Optional. A human-readable description of this reference. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#description ApigeeEnvReferences#description}- Returns:
this
-
id
@Stability(Stable) public ApigeeEnvReferencesConfig.Builder id(String id)
Sets the value ofApigeeEnvReferencesConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#id ApigeeEnvReferences#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 ApigeeEnvReferencesConfig.Builder timeouts(ApigeeEnvReferencesTimeouts timeouts)
Sets the value ofApigeeEnvReferencesConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_env_references#timeouts ApigeeEnvReferences#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.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 ApigeeEnvReferencesConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeEnvReferencesConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeEnvReferencesConfig>- Returns:
- a new instance of
ApigeeEnvReferencesConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-