Class ApigeeEnvironmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_environment.ApigeeEnvironmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeEnvironmentConfig>
- Enclosing interface:
- ApigeeEnvironmentConfig
@Stability(Stable) public static final class ApigeeEnvironmentConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeEnvironmentConfig>
A builder forApigeeEnvironmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApigeeEnvironmentConfig.BuilderapiProxyType(String apiProxyType)Sets the value ofApigeeEnvironmentConfig.getApiProxyType()ApigeeEnvironmentConfigbuild()Builds the configured instance.ApigeeEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeEnvironmentConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApigeeEnvironmentConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApigeeEnvironmentConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApigeeEnvironmentConfig.BuilderdeploymentType(String deploymentType)Sets the value ofApigeeEnvironmentConfig.getDeploymentType()ApigeeEnvironmentConfig.Builderdescription(String description)Sets the value ofApigeeEnvironmentConfig.getDescription()ApigeeEnvironmentConfig.BuilderdisplayName(String displayName)Sets the value ofApigeeEnvironmentConfig.getDisplayName()ApigeeEnvironmentConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApigeeEnvironmentConfig.BuilderforwardProxyUri(String forwardProxyUri)Sets the value ofApigeeEnvironmentConfig.getForwardProxyUri()ApigeeEnvironmentConfig.Builderid(String id)Sets the value ofApigeeEnvironmentConfig.getId()ApigeeEnvironmentConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApigeeEnvironmentConfig.Buildername(String name)Sets the value ofApigeeEnvironmentConfig.getName()ApigeeEnvironmentConfig.BuildernodeConfig(ApigeeEnvironmentNodeConfig nodeConfig)Sets the value ofApigeeEnvironmentConfig.getNodeConfig()ApigeeEnvironmentConfig.BuilderorgId(String orgId)Sets the value ofApigeeEnvironmentConfig.getOrgId()ApigeeEnvironmentConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApigeeEnvironmentConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApigeeEnvironmentConfig.Buildertimeouts(ApigeeEnvironmentTimeouts timeouts)Sets the value ofApigeeEnvironmentConfig.getTimeouts()ApigeeEnvironmentConfig.Buildertype(String type)Sets the value ofApigeeEnvironmentConfig.getType()
-
-
-
Method Detail
-
name
@Stability(Stable) public ApigeeEnvironmentConfig.Builder name(String name)
Sets the value ofApigeeEnvironmentConfig.getName()- Parameters:
name- The resource ID of the environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#name ApigeeEnvironment#name}- Returns:
this
-
orgId
@Stability(Stable) public ApigeeEnvironmentConfig.Builder orgId(String orgId)
Sets the value ofApigeeEnvironmentConfig.getOrgId()- Parameters:
orgId- The Apigee Organization associated with the Apigee environment, in the format 'organizations/{{org_name}}'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#org_id ApigeeEnvironment#org_id}- Returns:
this
-
apiProxyType
@Stability(Stable) public ApigeeEnvironmentConfig.Builder apiProxyType(String apiProxyType)
Sets the value ofApigeeEnvironmentConfig.getApiProxyType()- Parameters:
apiProxyType- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. Possible values: ["API_PROXY_TYPE_UNSPECIFIED", "PROGRAMMABLE", "CONFIGURABLE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#api_proxy_type ApigeeEnvironment#api_proxy_type}- Returns:
this
-
deploymentType
@Stability(Stable) public ApigeeEnvironmentConfig.Builder deploymentType(String deploymentType)
Sets the value ofApigeeEnvironmentConfig.getDeploymentType()- Parameters:
deploymentType- Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: Managing the deployment of API proxy or shared flow revisions; Creating, updating, or deleting resource files; Creating, updating, or deleting target servers. Possible values: ["DEPLOYMENT_TYPE_UNSPECIFIED", "PROXY", "ARCHIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#deployment_type ApigeeEnvironment#deployment_type}- Returns:
this
-
description
@Stability(Stable) public ApigeeEnvironmentConfig.Builder description(String description)
Sets the value ofApigeeEnvironmentConfig.getDescription()- Parameters:
description- Description of the environment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#description ApigeeEnvironment#description}- Returns:
this
-
displayName
@Stability(Stable) public ApigeeEnvironmentConfig.Builder displayName(String displayName)
Sets the value ofApigeeEnvironmentConfig.getDisplayName()- Parameters:
displayName- Display name of the environment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#display_name ApigeeEnvironment#display_name}- Returns:
this
-
forwardProxyUri
@Stability(Stable) public ApigeeEnvironmentConfig.Builder forwardProxyUri(String forwardProxyUri)
Sets the value ofApigeeEnvironmentConfig.getForwardProxyUri()- Parameters:
forwardProxyUri- Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#forward_proxy_uri ApigeeEnvironment#forward_proxy_uri}- Returns:
this
-
id
@Stability(Stable) public ApigeeEnvironmentConfig.Builder id(String id)
Sets the value ofApigeeEnvironmentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#id ApigeeEnvironment#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
-
nodeConfig
@Stability(Stable) public ApigeeEnvironmentConfig.Builder nodeConfig(ApigeeEnvironmentNodeConfig nodeConfig)
Sets the value ofApigeeEnvironmentConfig.getNodeConfig()- Parameters:
nodeConfig- node_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#node_config ApigeeEnvironment#node_config}- Returns:
this
-
timeouts
@Stability(Stable) public ApigeeEnvironmentConfig.Builder timeouts(ApigeeEnvironmentTimeouts timeouts)
Sets the value ofApigeeEnvironmentConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#timeouts ApigeeEnvironment#timeouts}- Returns:
this
-
type
@Stability(Stable) public ApigeeEnvironmentConfig.Builder type(String type)
Sets the value ofApigeeEnvironmentConfig.getType()- Parameters:
type- Types that can be selected for an Environment. Each of the types are limited by capability and capacity. Refer to Apigee's public documentation to understand about each of these types in details. An Apigee org can support heterogeneous Environments. Possible values: ["ENVIRONMENT_TYPE_UNSPECIFIED", "BASE", "INTERMEDIATE", "COMPREHENSIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_environment#type ApigeeEnvironment#type}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.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 ApigeeEnvironmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeEnvironmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeEnvironmentConfig>- Returns:
- a new instance of
ApigeeEnvironmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-