Class AppEngineStandardAppVersionConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • appEngineApis

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder appEngineApis​(Boolean appEngineApis)
        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)
        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
      • deleteServiceOnDestroy

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder deleteServiceOnDestroy​(Boolean deleteServiceOnDestroy)
        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)
        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
      • handlers

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder handlers​(com.hashicorp.cdktf.IResolvable handlers)
        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)
        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)
        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)
        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)
        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
      • noopOnDestroy

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder noopOnDestroy​(Boolean noopOnDestroy)
        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)
        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
      • runtimeApiVersion

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder runtimeApiVersion​(String runtimeApiVersion)
        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)
        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)
        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)
        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
      • versionId

        @Stability(Stable)
        public AppEngineStandardAppVersionConfig.Builder versionId​(String versionId)
        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
      • connection

        @Stability(Experimental)
        public AppEngineStandardAppVersionConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AppEngineStandardAppVersionConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public AppEngineStandardAppVersionConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this