Class StackMajorVersion
- java.lang.Object
-
- com.microsoft.azure.management.appservice.StackMajorVersion
-
public class StackMajorVersion extends Object
Application stack major version.
-
-
Constructor Summary
Constructors Constructor Description StackMajorVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanapplicationInsights()Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.StringdisplayVersion()Get application stack major version (display only).BooleanisDefault()Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.List<StackMinorVersion>minorVersions()Get minor versions associated with the major version.StringruntimeVersion()Get application stack major version (runtime only).StackMajorVersionwithApplicationInsights(Boolean applicationInsights)Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.StackMajorVersionwithDisplayVersion(String displayVersion)Set application stack major version (display only).StackMajorVersionwithIsDefault(Boolean isDefault)Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.StackMajorVersionwithMinorVersions(List<StackMinorVersion> minorVersions)Set minor versions associated with the major version.StackMajorVersionwithRuntimeVersion(String runtimeVersion)Set application stack major version (runtime only).
-
-
-
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.
-
-