public class StackMajorVersion extends Object
| Constructor and Description |
|---|
StackMajorVersion() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
applicationInsights()
Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
|
String |
displayVersion()
Get application stack major version (display only).
|
Boolean |
isDefault()
Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.
|
Boolean |
isDeprecated()
Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
|
Boolean |
isHidden()
Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
|
Boolean |
isPreview()
Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
|
List<StackMinorVersion> |
minorVersions()
Get minor versions associated with the major version.
|
String |
runtimeVersion()
Get application stack major version (runtime only).
|
StackMajorVersion |
withApplicationInsights(Boolean applicationInsights)
Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
|
StackMajorVersion |
withDisplayVersion(String displayVersion)
Set application stack major version (display only).
|
StackMajorVersion |
withIsDefault(Boolean isDefault)
Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.
|
StackMajorVersion |
withIsDeprecated(Boolean isDeprecated)
Set <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
|
StackMajorVersion |
withIsHidden(Boolean isHidden)
Set <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
|
StackMajorVersion |
withIsPreview(Boolean isPreview)
Set <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
|
StackMajorVersion |
withMinorVersions(List<StackMinorVersion> minorVersions)
Set minor versions associated with the major version.
|
StackMajorVersion |
withRuntimeVersion(String runtimeVersion)
Set application stack major version (runtime only).
|
public String displayVersion()
public StackMajorVersion withDisplayVersion(String displayVersion)
displayVersion - the displayVersion value to setpublic String runtimeVersion()
public StackMajorVersion withRuntimeVersion(String runtimeVersion)
runtimeVersion - the runtimeVersion value to setpublic Boolean isDefault()
public StackMajorVersion withIsDefault(Boolean isDefault)
isDefault - the isDefault value to setpublic List<StackMinorVersion> minorVersions()
public StackMajorVersion withMinorVersions(List<StackMinorVersion> minorVersions)
minorVersions - the minorVersions value to setpublic Boolean applicationInsights()
public StackMajorVersion withApplicationInsights(Boolean applicationInsights)
applicationInsights - the applicationInsights value to setpublic Boolean isPreview()
public StackMajorVersion withIsPreview(Boolean isPreview)
isPreview - the isPreview value to setpublic Boolean isDeprecated()
public StackMajorVersion withIsDeprecated(Boolean isDeprecated)
isDeprecated - the isDeprecated value to setpublic Boolean isHidden()
public StackMajorVersion withIsHidden(Boolean isHidden)
isHidden - the isHidden value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/