Class StackMajorVersion


  • public class StackMajorVersion
    extends Object
    Application stack major version.
    • Constructor Detail

      • StackMajorVersion

        public StackMajorVersion()
    • Method Detail

      • displayVersion

        public String displayVersion()
        Get application stack major version (display only).
        Returns:
        the displayVersion value
      • withDisplayVersion

        public StackMajorVersion withDisplayVersion​(String displayVersion)
        Set application stack major version (display only).
        Parameters:
        displayVersion - the displayVersion value to set
        Returns:
        the StackMajorVersion object itself.
      • runtimeVersion

        public String runtimeVersion()
        Get application stack major version (runtime only).
        Returns:
        the runtimeVersion value
      • withRuntimeVersion

        public StackMajorVersion withRuntimeVersion​(String runtimeVersion)
        Set application stack major version (runtime only).
        Parameters:
        runtimeVersion - the runtimeVersion value to set
        Returns:
        the StackMajorVersion object itself.
      • isDefault

        public Boolean isDefault()
        Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.
        Returns:
        the isDefault value
      • withIsDefault

        public StackMajorVersion withIsDefault​(Boolean isDefault)
        Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.
        Parameters:
        isDefault - the isDefault value to set
        Returns:
        the StackMajorVersion object itself.
      • minorVersions

        public List<StackMinorVersion> minorVersions()
        Get minor versions associated with the major version.
        Returns:
        the minorVersions value
      • withMinorVersions

        public StackMajorVersion withMinorVersions​(List<StackMinorVersion> minorVersions)
        Set minor versions associated with the major version.
        Parameters:
        minorVersions - the minorVersions value to set
        Returns:
        the StackMajorVersion object itself.
      • applicationInsights

        public Boolean applicationInsights()
        Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
        Returns:
        the applicationInsights value
      • withApplicationInsights

        public StackMajorVersion withApplicationInsights​(Boolean applicationInsights)
        Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
        Parameters:
        applicationInsights - the applicationInsights value to set
        Returns:
        the StackMajorVersion object itself.