Interface SpringAppDeployment.DefinitionStages.WithSettings<T>

    • Method Detail

      • withInstance

        T withInstance​(int count)
        Specifies the instance number of the deployment.
        Parameters:
        count - the number of the instance
        Returns:
        the next stage of deployment definition
      • withCpu

        T withCpu​(int cpuCount)
        Specifies the cpu number of the deployment.
        Parameters:
        cpuCount - the number of the cpu
        Returns:
        the next stage of deployment definition
      • withMemory

        T withMemory​(int sizeInGB)
        Specifies the memory of the deployment.
        Parameters:
        sizeInGB - the size of the memory in GB
        Returns:
        the next stage of deployment definition
      • withRuntime

        T withRuntime​(RuntimeVersion version)
        Specifies the runtime version of the deployment.
        Parameters:
        version - the runtime version of Java
        Returns:
        the next stage of deployment definition
      • withJvmOptions

        T withJvmOptions​(String jvmOptions)
        Specifies the jvm options of the deployment.
        Parameters:
        jvmOptions - the argument of jvm
        Returns:
        the next stage of deployment definition
      • withEnvironment

        T withEnvironment​(String key,
                          String value)
        Specifies a environment variable of the deployment.
        Parameters:
        key - the key of the environment
        value - the value of the environment
        Returns:
        the next stage of deployment definition
      • withVersionName

        T withVersionName​(String versionName)
        Specifies the version of the deployment.
        Parameters:
        versionName - the version name of the deployment
        Returns:
        the next stage of deployment definition
      • withActivation

        T withActivation()
        Activates of the deployment after definition.
        Returns:
        the next stage of deployment definition