Class AppEngineStandardAppVersionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_standard_app_version.AppEngineStandardAppVersionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineStandardAppVersionConfig>
- Enclosing interface:
- AppEngineStandardAppVersionConfig
@Stability(Stable) public static final class AppEngineStandardAppVersionConfig.Builder extends Object implements software.amazon.jsii.Builder<AppEngineStandardAppVersionConfig>
A builder forAppEngineStandardAppVersionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
deployment
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder deployment(AppEngineStandardAppVersionDeployment deployment)
Sets the value ofAppEngineStandardAppVersionConfig.getDeployment()- Parameters:
deployment- deployment block. This parameter is required. 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}- Returns:
this
-
entrypoint
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder entrypoint(AppEngineStandardAppVersionEntrypoint entrypoint)
Sets the value ofAppEngineStandardAppVersionConfig.getEntrypoint()- Parameters:
entrypoint- entrypoint block. This parameter is required. 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}- Returns:
this
-
runtime
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder runtime(String runtime)
Sets the value ofAppEngineStandardAppVersionConfig.getRuntime()- Parameters:
runtime- Desired runtime. Example python27. This parameter is required. 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}- Returns:
this
-
service
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder service(String service)
Sets the value ofAppEngineStandardAppVersionConfig.getService()- Parameters:
service- AppEngine service resource. This parameter is required. 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}- Returns:
this
-
appEngineApis
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder appEngineApis(Boolean appEngineApis)
Sets the value ofAppEngineStandardAppVersionConfig.getAppEngineApis()- Parameters:
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}- Returns:
this
-
appEngineApis
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder appEngineApis(com.hashicorp.cdktf.IResolvable appEngineApis)
Sets the value ofAppEngineStandardAppVersionConfig.getAppEngineApis()- Parameters:
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}- Returns:
this
-
automaticScaling
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder automaticScaling(AppEngineStandardAppVersionAutomaticScaling automaticScaling)
Sets the value ofAppEngineStandardAppVersionConfig.getAutomaticScaling()- Parameters:
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}- Returns:
this
-
basicScaling
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder basicScaling(AppEngineStandardAppVersionBasicScaling basicScaling)
Sets the value ofAppEngineStandardAppVersionConfig.getBasicScaling()- Parameters:
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}- Returns:
this
-
deleteServiceOnDestroy
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder deleteServiceOnDestroy(Boolean deleteServiceOnDestroy)
Sets the value ofAppEngineStandardAppVersionConfig.getDeleteServiceOnDestroy()- Parameters:
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}- Returns:
this
-
deleteServiceOnDestroy
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder deleteServiceOnDestroy(com.hashicorp.cdktf.IResolvable deleteServiceOnDestroy)
Sets the value ofAppEngineStandardAppVersionConfig.getDeleteServiceOnDestroy()- Parameters:
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}- Returns:
this
-
envVariables
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder envVariables(Map<String,String> envVariables)
Sets the value ofAppEngineStandardAppVersionConfig.getEnvVariables()- Parameters:
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}- Returns:
this
-
handlers
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder handlers(com.hashicorp.cdktf.IResolvable handlers)
Sets the value ofAppEngineStandardAppVersionConfig.getHandlers()- Parameters:
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}- Returns:
this
-
handlers
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder handlers(List<? extends AppEngineStandardAppVersionHandlers> handlers)
Sets the value ofAppEngineStandardAppVersionConfig.getHandlers()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder id(String id)
Sets the value ofAppEngineStandardAppVersionConfig.getId()- 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}. 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
-
inboundServices
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder inboundServices(List<String> inboundServices)
Sets the value ofAppEngineStandardAppVersionConfig.getInboundServices()- Parameters:
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}- Returns:
this
-
instanceClass
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder instanceClass(String instanceClass)
Sets the value ofAppEngineStandardAppVersionConfig.getInstanceClass()- Parameters:
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}- Returns:
this
-
libraries
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder libraries(com.hashicorp.cdktf.IResolvable libraries)
Sets the value ofAppEngineStandardAppVersionConfig.getLibraries()- Parameters:
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}- Returns:
this
-
libraries
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder libraries(List<? extends AppEngineStandardAppVersionLibraries> libraries)
Sets the value ofAppEngineStandardAppVersionConfig.getLibraries()- Parameters:
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}- Returns:
this
-
manualScaling
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder manualScaling(AppEngineStandardAppVersionManualScaling manualScaling)
Sets the value ofAppEngineStandardAppVersionConfig.getManualScaling()- Parameters:
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}- Returns:
this
-
noopOnDestroy
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder noopOnDestroy(Boolean noopOnDestroy)
Sets the value ofAppEngineStandardAppVersionConfig.getNoopOnDestroy()- Parameters:
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}- Returns:
this
-
noopOnDestroy
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder noopOnDestroy(com.hashicorp.cdktf.IResolvable noopOnDestroy)
Sets the value ofAppEngineStandardAppVersionConfig.getNoopOnDestroy()- Parameters:
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}- Returns:
this
-
project
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder project(String project)
Sets the value ofAppEngineStandardAppVersionConfig.getProject()- 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}.- Returns:
this
-
runtimeApiVersion
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder runtimeApiVersion(String runtimeApiVersion)
Sets the value ofAppEngineStandardAppVersionConfig.getRuntimeApiVersion()- Parameters:
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} - Returns:
this
-
serviceAccount
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder serviceAccount(String serviceAccount)
Sets the value ofAppEngineStandardAppVersionConfig.getServiceAccount()- Parameters:
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}- Returns:
this
-
threadsafe
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder threadsafe(Boolean threadsafe)
Sets the value ofAppEngineStandardAppVersionConfig.getThreadsafe()- Parameters:
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}- Returns:
this
-
threadsafe
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder threadsafe(com.hashicorp.cdktf.IResolvable threadsafe)
Sets the value ofAppEngineStandardAppVersionConfig.getThreadsafe()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder timeouts(AppEngineStandardAppVersionTimeouts timeouts)
Sets the value ofAppEngineStandardAppVersionConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
versionId
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder versionId(String versionId)
Sets the value ofAppEngineStandardAppVersionConfig.getVersionId()- Parameters:
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}- Returns:
this
-
vpcAccessConnector
@Stability(Stable) public AppEngineStandardAppVersionConfig.Builder vpcAccessConnector(AppEngineStandardAppVersionVpcAccessConnector vpcAccessConnector)
Sets the value ofAppEngineStandardAppVersionConfig.getVpcAccessConnector()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.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 AppEngineStandardAppVersionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AppEngineStandardAppVersionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineStandardAppVersionConfig>- Returns:
- a new instance of
AppEngineStandardAppVersionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-