Class StackMajorVersion

java.lang.Object
com.microsoft.azure.management.appservice.StackMajorVersion

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

    • StackMajorVersion

      public StackMajorVersion()
  • Method Details

    • 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.
    • isPreview

      public Boolean isPreview()
      Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
      Returns:
      the isPreview value
    • withIsPreview

      public StackMajorVersion withIsPreview(Boolean isPreview)
      Set <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
      Parameters:
      isPreview - the isPreview value to set
      Returns:
      the StackMajorVersion object itself.
    • isDeprecated

      public Boolean isDeprecated()
      Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
      Returns:
      the isDeprecated value
    • withIsDeprecated

      public StackMajorVersion withIsDeprecated(Boolean isDeprecated)
      Set <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
      Parameters:
      isDeprecated - the isDeprecated value to set
      Returns:
      the StackMajorVersion object itself.
    • isHidden

      public Boolean isHidden()
      Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
      Returns:
      the isHidden value
    • withIsHidden

      public StackMajorVersion withIsHidden(Boolean isHidden)
      Set <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
      Parameters:
      isHidden - the isHidden value to set
      Returns:
      the StackMajorVersion object itself.