Class AppEngineStandardAppVersion.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_standard_app_version.AppEngineStandardAppVersion.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineStandardAppVersion>
- Enclosing class:
- AppEngineStandardAppVersion
@Stability(Stable) public static final class AppEngineStandardAppVersion.Builder extends Object implements software.amazon.jsii.Builder<AppEngineStandardAppVersion>
A fluent builder forAppEngineStandardAppVersion.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppEngineStandardAppVersion.BuilderappEngineApis(com.hashicorp.cdktf.IResolvable appEngineApis)Allows App Engine second generation runtimes to access the legacy bundled services.AppEngineStandardAppVersion.BuilderappEngineApis(Boolean appEngineApis)Allows App Engine second generation runtimes to access the legacy bundled services.AppEngineStandardAppVersion.BuilderautomaticScaling(AppEngineStandardAppVersionAutomaticScaling automaticScaling)automatic_scaling block.AppEngineStandardAppVersion.BuilderbasicScaling(AppEngineStandardAppVersionBasicScaling basicScaling)basic_scaling block.AppEngineStandardAppVersionbuild()AppEngineStandardAppVersion.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)AppEngineStandardAppVersion.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)AppEngineStandardAppVersion.Buildercount(com.hashicorp.cdktf.TerraformCount count)AppEngineStandardAppVersion.Buildercount(Number count)static AppEngineStandardAppVersion.Buildercreate(software.constructs.Construct scope, String id)AppEngineStandardAppVersion.BuilderdeleteServiceOnDestroy(com.hashicorp.cdktf.IResolvable deleteServiceOnDestroy)If set to 'true', the service will be deleted if it is the last version.AppEngineStandardAppVersion.BuilderdeleteServiceOnDestroy(Boolean deleteServiceOnDestroy)If set to 'true', the service will be deleted if it is the last version.AppEngineStandardAppVersion.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)AppEngineStandardAppVersion.Builderdeployment(AppEngineStandardAppVersionDeployment deployment)deployment block.AppEngineStandardAppVersion.Builderentrypoint(AppEngineStandardAppVersionEntrypoint entrypoint)entrypoint block.AppEngineStandardAppVersion.BuilderenvVariables(Map<String,String> envVariables)Environment variables available to the application.AppEngineStandardAppVersion.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)AppEngineStandardAppVersion.Builderhandlers(com.hashicorp.cdktf.IResolvable handlers)handlers block.AppEngineStandardAppVersion.Builderhandlers(List<? extends AppEngineStandardAppVersionHandlers> handlers)handlers block.AppEngineStandardAppVersion.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#id AppEngineStandardAppVersion#id}.AppEngineStandardAppVersion.BuilderinboundServices(List<String> inboundServices)A list of the types of messages that this application is able to receive.AppEngineStandardAppVersion.BuilderinstanceClass(String instanceClass)Instance class that is used to run this version.AppEngineStandardAppVersion.Builderlibraries(com.hashicorp.cdktf.IResolvable libraries)libraries block.AppEngineStandardAppVersion.Builderlibraries(List<? extends AppEngineStandardAppVersionLibraries> libraries)libraries block.AppEngineStandardAppVersion.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)AppEngineStandardAppVersion.BuildermanualScaling(AppEngineStandardAppVersionManualScaling manualScaling)manual_scaling block.AppEngineStandardAppVersion.BuildernoopOnDestroy(com.hashicorp.cdktf.IResolvable noopOnDestroy)If set to 'true', the application version will not be deleted.AppEngineStandardAppVersion.BuildernoopOnDestroy(Boolean noopOnDestroy)If set to 'true', the application version will not be deleted.AppEngineStandardAppVersion.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#project AppEngineStandardAppVersion#project}.AppEngineStandardAppVersion.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)AppEngineStandardAppVersion.Builderprovisioners(List<? extends Object> provisioners)AppEngineStandardAppVersion.Builderruntime(String runtime)Desired runtime.AppEngineStandardAppVersion.BuilderruntimeApiVersion(String runtimeApiVersion)The version of the API in the given runtime environment.AppEngineStandardAppVersion.Builderservice(String service)AppEngine service resource.AppEngineStandardAppVersion.BuilderserviceAccount(String serviceAccount)The identity that the deployed version will run as.AppEngineStandardAppVersion.Builderthreadsafe(com.hashicorp.cdktf.IResolvable threadsafe)Whether multiple requests can be dispatched to this version at once.AppEngineStandardAppVersion.Builderthreadsafe(Boolean threadsafe)Whether multiple requests can be dispatched to this version at once.AppEngineStandardAppVersion.Buildertimeouts(AppEngineStandardAppVersionTimeouts timeouts)timeouts block.AppEngineStandardAppVersion.BuilderversionId(String versionId)Relative name of the version within the service.AppEngineStandardAppVersion.BuildervpcAccessConnector(AppEngineStandardAppVersionVpcAccessConnector vpcAccessConnector)vpc_access_connector block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static AppEngineStandardAppVersion.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
AppEngineStandardAppVersion.Builder.
-
connection
@Stability(Experimental) public AppEngineStandardAppVersion.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public AppEngineStandardAppVersion.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AppEngineStandardAppVersion.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AppEngineStandardAppVersion.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public AppEngineStandardAppVersion.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public AppEngineStandardAppVersion.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public AppEngineStandardAppVersion.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public AppEngineStandardAppVersion.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public AppEngineStandardAppVersion.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
deployment
@Stability(Stable) public AppEngineStandardAppVersion.Builder deployment(AppEngineStandardAppVersionDeployment deployment)
deployment block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#deployment AppEngineStandardAppVersion#deployment}
- Parameters:
deployment- deployment block. This parameter is required.- Returns:
this
-
entrypoint
@Stability(Stable) public AppEngineStandardAppVersion.Builder entrypoint(AppEngineStandardAppVersionEntrypoint entrypoint)
entrypoint block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#entrypoint AppEngineStandardAppVersion#entrypoint}
- Parameters:
entrypoint- entrypoint block. This parameter is required.- Returns:
this
-
runtime
@Stability(Stable) public AppEngineStandardAppVersion.Builder runtime(String runtime)
Desired runtime. Example python27.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#runtime AppEngineStandardAppVersion#runtime}
- Parameters:
runtime- Desired runtime. Example python27. This parameter is required.- Returns:
this
-
service
@Stability(Stable) public AppEngineStandardAppVersion.Builder service(String service)
AppEngine service resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#service AppEngineStandardAppVersion#service}
- Parameters:
service- AppEngine service resource. This parameter is required.- Returns:
this
-
appEngineApis
@Stability(Stable) public AppEngineStandardAppVersion.Builder appEngineApis(Boolean appEngineApis)
Allows App Engine second generation runtimes to access the legacy bundled services.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#app_engine_apis AppEngineStandardAppVersion#app_engine_apis}
- Parameters:
appEngineApis- Allows App Engine second generation runtimes to access the legacy bundled services. This parameter is required.- Returns:
this
-
appEngineApis
@Stability(Stable) public AppEngineStandardAppVersion.Builder appEngineApis(com.hashicorp.cdktf.IResolvable appEngineApis)
Allows App Engine second generation runtimes to access the legacy bundled services.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#app_engine_apis AppEngineStandardAppVersion#app_engine_apis}
- Parameters:
appEngineApis- Allows App Engine second generation runtimes to access the legacy bundled services. This parameter is required.- Returns:
this
-
automaticScaling
@Stability(Stable) public AppEngineStandardAppVersion.Builder automaticScaling(AppEngineStandardAppVersionAutomaticScaling automaticScaling)
automatic_scaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#automatic_scaling AppEngineStandardAppVersion#automatic_scaling}
- Parameters:
automaticScaling- automatic_scaling block. This parameter is required.- Returns:
this
-
basicScaling
@Stability(Stable) public AppEngineStandardAppVersion.Builder basicScaling(AppEngineStandardAppVersionBasicScaling basicScaling)
basic_scaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#basic_scaling AppEngineStandardAppVersion#basic_scaling}
- Parameters:
basicScaling- basic_scaling block. This parameter is required.- Returns:
this
-
deleteServiceOnDestroy
@Stability(Stable) public AppEngineStandardAppVersion.Builder deleteServiceOnDestroy(Boolean deleteServiceOnDestroy)
If set to 'true', the service will be deleted if it is the last version.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#delete_service_on_destroy AppEngineStandardAppVersion#delete_service_on_destroy}
- Parameters:
deleteServiceOnDestroy- If set to 'true', the service will be deleted if it is the last version. This parameter is required.- Returns:
this
-
deleteServiceOnDestroy
@Stability(Stable) public AppEngineStandardAppVersion.Builder deleteServiceOnDestroy(com.hashicorp.cdktf.IResolvable deleteServiceOnDestroy)
If set to 'true', the service will be deleted if it is the last version.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#delete_service_on_destroy AppEngineStandardAppVersion#delete_service_on_destroy}
- Parameters:
deleteServiceOnDestroy- If set to 'true', the service will be deleted if it is the last version. This parameter is required.- Returns:
this
-
envVariables
@Stability(Stable) public AppEngineStandardAppVersion.Builder envVariables(Map<String,String> envVariables)
Environment variables available to the application.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#env_variables AppEngineStandardAppVersion#env_variables}
- Parameters:
envVariables- Environment variables available to the application. This parameter is required.- Returns:
this
-
handlers
@Stability(Stable) public AppEngineStandardAppVersion.Builder handlers(com.hashicorp.cdktf.IResolvable handlers)
handlers block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#handlers AppEngineStandardAppVersion#handlers}
- Parameters:
handlers- handlers block. This parameter is required.- Returns:
this
-
handlers
@Stability(Stable) public AppEngineStandardAppVersion.Builder handlers(List<? extends AppEngineStandardAppVersionHandlers> handlers)
handlers block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#handlers AppEngineStandardAppVersion#handlers}
- Parameters:
handlers- handlers block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AppEngineStandardAppVersion.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#id AppEngineStandardAppVersion#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#id AppEngineStandardAppVersion#id}. This parameter is required.- Returns:
this
-
inboundServices
@Stability(Stable) public AppEngineStandardAppVersion.Builder inboundServices(List<String> inboundServices)
A list of the types of messages that this application is able to receive.Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE", "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE", "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE", "INBOUND_SERVICE_WARMUP"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#inbound_services AppEngineStandardAppVersion#inbound_services}
- Parameters:
inboundServices- A list of the types of messages that this application is able to receive. This parameter is required.- Returns:
this
-
instanceClass
@Stability(Stable) public AppEngineStandardAppVersion.Builder instanceClass(String instanceClass)
Instance class that is used to run this version.Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#instance_class AppEngineStandardAppVersion#instance_class}
- Parameters:
instanceClass- Instance class that is used to run this version. This parameter is required.- Returns:
this
-
libraries
@Stability(Stable) public AppEngineStandardAppVersion.Builder libraries(com.hashicorp.cdktf.IResolvable libraries)
libraries block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#libraries AppEngineStandardAppVersion#libraries}
- Parameters:
libraries- libraries block. This parameter is required.- Returns:
this
-
libraries
@Stability(Stable) public AppEngineStandardAppVersion.Builder libraries(List<? extends AppEngineStandardAppVersionLibraries> libraries)
libraries block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#libraries AppEngineStandardAppVersion#libraries}
- Parameters:
libraries- libraries block. This parameter is required.- Returns:
this
-
manualScaling
@Stability(Stable) public AppEngineStandardAppVersion.Builder manualScaling(AppEngineStandardAppVersionManualScaling manualScaling)
manual_scaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#manual_scaling AppEngineStandardAppVersion#manual_scaling}
- Parameters:
manualScaling- manual_scaling block. This parameter is required.- Returns:
this
-
noopOnDestroy
@Stability(Stable) public AppEngineStandardAppVersion.Builder noopOnDestroy(Boolean noopOnDestroy)
If set to 'true', the application version will not be deleted.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#noop_on_destroy AppEngineStandardAppVersion#noop_on_destroy}
- Parameters:
noopOnDestroy- If set to 'true', the application version will not be deleted. This parameter is required.- Returns:
this
-
noopOnDestroy
@Stability(Stable) public AppEngineStandardAppVersion.Builder noopOnDestroy(com.hashicorp.cdktf.IResolvable noopOnDestroy)
If set to 'true', the application version will not be deleted.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#noop_on_destroy AppEngineStandardAppVersion#noop_on_destroy}
- Parameters:
noopOnDestroy- If set to 'true', the application version will not be deleted. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public AppEngineStandardAppVersion.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#project AppEngineStandardAppVersion#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#project AppEngineStandardAppVersion#project}. This parameter is required.- Returns:
this
-
runtimeApiVersion
@Stability(Stable) public AppEngineStandardAppVersion.Builder runtimeApiVersion(String runtimeApiVersion)
The version of the API in the given runtime environment.Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard/
/config/appref'\ Substitute ' ' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#runtime_api_version AppEngineStandardAppVersion#runtime_api_version} - Parameters:
runtimeApiVersion- The version of the API in the given runtime environment. This parameter is required.- Returns:
this
-
serviceAccount
@Stability(Stable) public AppEngineStandardAppVersion.Builder serviceAccount(String serviceAccount)
The identity that the deployed version will run as.Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#service_account AppEngineStandardAppVersion#service_account}
- Parameters:
serviceAccount- The identity that the deployed version will run as. This parameter is required.- Returns:
this
-
threadsafe
@Stability(Stable) public AppEngineStandardAppVersion.Builder threadsafe(Boolean threadsafe)
Whether multiple requests can be dispatched to this version at once.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#threadsafe AppEngineStandardAppVersion#threadsafe}
- Parameters:
threadsafe- Whether multiple requests can be dispatched to this version at once. This parameter is required.- Returns:
this
-
threadsafe
@Stability(Stable) public AppEngineStandardAppVersion.Builder threadsafe(com.hashicorp.cdktf.IResolvable threadsafe)
Whether multiple requests can be dispatched to this version at once.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#threadsafe AppEngineStandardAppVersion#threadsafe}
- Parameters:
threadsafe- Whether multiple requests can be dispatched to this version at once. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public AppEngineStandardAppVersion.Builder timeouts(AppEngineStandardAppVersionTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#timeouts AppEngineStandardAppVersion#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
versionId
@Stability(Stable) public AppEngineStandardAppVersion.Builder versionId(String versionId)
Relative name of the version within the service.For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#version_id AppEngineStandardAppVersion#version_id}
- Parameters:
versionId- Relative name of the version within the service. This parameter is required.- Returns:
this
-
vpcAccessConnector
@Stability(Stable) public AppEngineStandardAppVersion.Builder vpcAccessConnector(AppEngineStandardAppVersionVpcAccessConnector vpcAccessConnector)
vpc_access_connector block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#vpc_access_connector AppEngineStandardAppVersion#vpc_access_connector}
- Parameters:
vpcAccessConnector- vpc_access_connector block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AppEngineStandardAppVersion build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineStandardAppVersion>- Returns:
- a newly built instance of
AppEngineStandardAppVersion.
-
-