Class StackMajorVersion
java.lang.Object
com.microsoft.azure.management.appservice.StackMajorVersion
Application stack major version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.Get application stack major version (display only).Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.isHidden()
Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.Get minor versions associated with the major version.Get application stack major version (runtime only).withApplicationInsights
(Boolean applicationInsights) Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.withDisplayVersion
(String displayVersion) Set application stack major version (display only).withIsDefault
(Boolean isDefault) Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.withIsDeprecated
(Boolean isDeprecated) Set <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.withIsHidden
(Boolean isHidden) Set <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.withIsPreview
(Boolean isPreview) Set <code>true</code> if this stack is in Preview, otherwise <code>false</code>.withMinorVersions
(List<StackMinorVersion> minorVersions) Set minor versions associated with the major version.withRuntimeVersion
(String runtimeVersion) Set application stack major version (runtime only).
-
Constructor Details
-
StackMajorVersion
public StackMajorVersion()
-
-
Method Details
-
displayVersion
Get application stack major version (display only).- Returns:
- the displayVersion value
-
withDisplayVersion
Set application stack major version (display only).- Parameters:
displayVersion
- the displayVersion value to set- Returns:
- the StackMajorVersion object itself.
-
runtimeVersion
Get application stack major version (runtime only).- Returns:
- the runtimeVersion value
-
withRuntimeVersion
Set application stack major version (runtime only).- Parameters:
runtimeVersion
- the runtimeVersion value to set- Returns:
- the StackMajorVersion object itself.
-
isDefault
Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.- Returns:
- the isDefault value
-
withIsDefault
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
Get minor versions associated with the major version.- Returns:
- the minorVersions value
-
withMinorVersions
Set minor versions associated with the major version.- Parameters:
minorVersions
- the minorVersions value to set- Returns:
- the StackMajorVersion object itself.
-
applicationInsights
Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.- Returns:
- the applicationInsights value
-
withApplicationInsights
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
Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.- Returns:
- the isPreview value
-
withIsPreview
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
Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.- Returns:
- the isDeprecated value
-
withIsDeprecated
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
Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.- Returns:
- the isHidden value
-
withIsHidden
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.
-