Class FlexibleAppVersionState.Builder

  • Enclosing class:
    FlexibleAppVersionState

    public static final class FlexibleAppVersionState.Builder
    extends java.lang.Object
    • Method Detail

      • automaticScaling

        public FlexibleAppVersionState.Builder automaticScaling​(@Nullable
                                                                com.pulumi.core.Output<FlexibleAppVersionAutomaticScalingArgs> automaticScaling)
        Parameters:
        automaticScaling - Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
        Returns:
        builder
      • betaSettings

        public FlexibleAppVersionState.Builder betaSettings​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> betaSettings)
        Parameters:
        betaSettings - Metadata settings that are supplied to this version to enable beta runtime features.
        Returns:
        builder
      • betaSettings

        public FlexibleAppVersionState.Builder betaSettings​(java.util.Map<java.lang.String,​java.lang.String> betaSettings)
        Parameters:
        betaSettings - Metadata settings that are supplied to this version to enable beta runtime features.
        Returns:
        builder
      • defaultExpiration

        public FlexibleAppVersionState.Builder defaultExpiration​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> defaultExpiration)
        Parameters:
        defaultExpiration - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
        Returns:
        builder
      • defaultExpiration

        public FlexibleAppVersionState.Builder defaultExpiration​(java.lang.String defaultExpiration)
        Parameters:
        defaultExpiration - Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.
        Returns:
        builder
      • deleteServiceOnDestroy

        public FlexibleAppVersionState.Builder deleteServiceOnDestroy​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> deleteServiceOnDestroy)
        Parameters:
        deleteServiceOnDestroy - If set to `true`, the service will be deleted if it is the last version.
        Returns:
        builder
      • deleteServiceOnDestroy

        public FlexibleAppVersionState.Builder deleteServiceOnDestroy​(java.lang.Boolean deleteServiceOnDestroy)
        Parameters:
        deleteServiceOnDestroy - If set to `true`, the service will be deleted if it is the last version.
        Returns:
        builder
      • envVariables

        public FlexibleAppVersionState.Builder envVariables​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> envVariables)
        Parameters:
        envVariables - Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
        Returns:
        builder
      • envVariables

        public FlexibleAppVersionState.Builder envVariables​(java.util.Map<java.lang.String,​java.lang.String> envVariables)
        Parameters:
        envVariables - Environment variables available to the application. As these are not returned in the API request, the provider will not detect any changes made outside of the config.
        Returns:
        builder
      • handlers

        public FlexibleAppVersionState.Builder handlers​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<FlexibleAppVersionHandlerArgs>> handlers)
        Parameters:
        handlers - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
        Returns:
        builder
      • handlers

        public FlexibleAppVersionState.Builder handlers​(java.util.List<FlexibleAppVersionHandlerArgs> handlers)
        Parameters:
        handlers - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
        Returns:
        builder
      • handlers

        public FlexibleAppVersionState.Builder handlers​(FlexibleAppVersionHandlerArgs... handlers)
        Parameters:
        handlers - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.
        Returns:
        builder
      • inboundServices

        public FlexibleAppVersionState.Builder inboundServices​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<java.lang.String>> inboundServices)
        Parameters:
        inboundServices - A list of the types of messages that this application is able to receive. Each value may be one of: `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`.
        Returns:
        builder
      • inboundServices

        public FlexibleAppVersionState.Builder inboundServices​(java.util.List<java.lang.String> inboundServices)
        Parameters:
        inboundServices - A list of the types of messages that this application is able to receive. Each value may be one of: `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`.
        Returns:
        builder
      • inboundServices

        public FlexibleAppVersionState.Builder inboundServices​(java.lang.String... inboundServices)
        Parameters:
        inboundServices - A list of the types of messages that this application is able to receive. Each value may be one of: `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`.
        Returns:
        builder
      • instanceClass

        public FlexibleAppVersionState.Builder instanceClass​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> instanceClass)
        Parameters:
        instanceClass - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
        Returns:
        builder
      • instanceClass

        public FlexibleAppVersionState.Builder instanceClass​(java.lang.String instanceClass)
        Parameters:
        instanceClass - Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G ManualScaling: B1, B2, B4, B8, B4_1G Defaults to F1 for AutomaticScaling and B1 for ManualScaling.
        Returns:
        builder
      • livenessCheck

        public FlexibleAppVersionState.Builder livenessCheck​(@Nullable
                                                             com.pulumi.core.Output<FlexibleAppVersionLivenessCheckArgs> livenessCheck)
        Parameters:
        livenessCheck - Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Structure is documented below.
        Returns:
        builder
      • manualScaling

        public FlexibleAppVersionState.Builder manualScaling​(@Nullable
                                                             com.pulumi.core.Output<FlexibleAppVersionManualScalingArgs> manualScaling)
        Parameters:
        manualScaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
        Returns:
        builder
      • manualScaling

        public FlexibleAppVersionState.Builder manualScaling​(FlexibleAppVersionManualScalingArgs manualScaling)
        Parameters:
        manualScaling - A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.
        Returns:
        builder
      • name

        public FlexibleAppVersionState.Builder name​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
        Returns:
        builder
      • name

        public FlexibleAppVersionState.Builder name​(java.lang.String name)
        Parameters:
        name - Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
        Returns:
        builder
      • nobuildFilesRegex

        public FlexibleAppVersionState.Builder nobuildFilesRegex​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> nobuildFilesRegex)
        Parameters:
        nobuildFilesRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
        Returns:
        builder
      • nobuildFilesRegex

        public FlexibleAppVersionState.Builder nobuildFilesRegex​(java.lang.String nobuildFilesRegex)
        Parameters:
        nobuildFilesRegex - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.
        Returns:
        builder
      • noopOnDestroy

        public FlexibleAppVersionState.Builder noopOnDestroy​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> noopOnDestroy)
        Parameters:
        noopOnDestroy - If set to `true`, the application version will not be deleted.
        Returns:
        builder
      • noopOnDestroy

        public FlexibleAppVersionState.Builder noopOnDestroy​(java.lang.Boolean noopOnDestroy)
        Parameters:
        noopOnDestroy - If set to `true`, the application version will not be deleted.
        Returns:
        builder
      • project

        public FlexibleAppVersionState.Builder project​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public FlexibleAppVersionState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • readinessCheck

        public FlexibleAppVersionState.Builder readinessCheck​(@Nullable
                                                              com.pulumi.core.Output<FlexibleAppVersionReadinessCheckArgs> readinessCheck)
        Parameters:
        readinessCheck - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Structure is documented below.
        Returns:
        builder
      • runtime

        public FlexibleAppVersionState.Builder runtime​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> runtime)
        Parameters:
        runtime - Desired runtime. Example python27.
        Returns:
        builder
      • runtime

        public FlexibleAppVersionState.Builder runtime​(java.lang.String runtime)
        Parameters:
        runtime - Desired runtime. Example python27.
        Returns:
        builder
      • runtimeApiVersion

        public FlexibleAppVersionState.Builder runtimeApiVersion​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.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/<language>/config/appref`\ Substitute `<language>` with `python`, `java`, `php`, `ruby`, `go` or `nodejs`.
        Returns:
        builder
      • runtimeApiVersion

        public FlexibleAppVersionState.Builder runtimeApiVersion​(java.lang.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/<language>/config/appref`\ Substitute `<language>` with `python`, `java`, `php`, `ruby`, `go` or `nodejs`.
        Returns:
        builder
      • runtimeChannel

        public FlexibleAppVersionState.Builder runtimeChannel​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> runtimeChannel)
        Parameters:
        runtimeChannel - The channel of the runtime to use. Only available for some runtimes.
        Returns:
        builder
      • runtimeChannel

        public FlexibleAppVersionState.Builder runtimeChannel​(java.lang.String runtimeChannel)
        Parameters:
        runtimeChannel - The channel of the runtime to use. Only available for some runtimes.
        Returns:
        builder
      • runtimeMainExecutablePath

        public FlexibleAppVersionState.Builder runtimeMainExecutablePath​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.String> runtimeMainExecutablePath)
        Parameters:
        runtimeMainExecutablePath - The path or name of the app's main executable.
        Returns:
        builder
      • runtimeMainExecutablePath

        public FlexibleAppVersionState.Builder runtimeMainExecutablePath​(java.lang.String runtimeMainExecutablePath)
        Parameters:
        runtimeMainExecutablePath - The path or name of the app's main executable.
        Returns:
        builder
      • service

        public FlexibleAppVersionState.Builder service​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> service)
        Parameters:
        service - AppEngine service resource. Can contain numbers, letters, and hyphens.
        Returns:
        builder
      • service

        public FlexibleAppVersionState.Builder service​(java.lang.String service)
        Parameters:
        service - AppEngine service resource. Can contain numbers, letters, and hyphens.
        Returns:
        builder
      • serviceAccount

        public FlexibleAppVersionState.Builder serviceAccount​(@Nullable
                                                              com.pulumi.core.Output<java.lang.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.
        Returns:
        builder
      • serviceAccount

        public FlexibleAppVersionState.Builder serviceAccount​(java.lang.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.
        Returns:
        builder
      • servingStatus

        public FlexibleAppVersionState.Builder servingStatus​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> servingStatus)
        Parameters:
        servingStatus - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is `SERVING`. Possible values are: `SERVING`, `STOPPED`.
        Returns:
        builder
      • servingStatus

        public FlexibleAppVersionState.Builder servingStatus​(java.lang.String servingStatus)
        Parameters:
        servingStatus - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value is `SERVING`. Possible values are: `SERVING`, `STOPPED`.
        Returns:
        builder
      • versionId

        public FlexibleAppVersionState.Builder versionId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.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-".
        Returns:
        builder
      • versionId

        public FlexibleAppVersionState.Builder versionId​(java.lang.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-".
        Returns:
        builder