Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Application stack major version.
/**
* Application stack major version.
*/
public class StackMajorVersion {
Application stack major version (display only).
/**
* Application stack major version (display only).
*/
@JsonProperty(value = "displayVersion")
private String displayVersion;
Application stack major version (runtime only).
/**
* Application stack major version (runtime only).
*/
@JsonProperty(value = "runtimeVersion")
private String runtimeVersion;
<code>true</code> if this is the default major version;
otherwise, <code>false</code>.
/**
* <code>true</code> if this is the default major version;
* otherwise, <code>false</code>.
*/
@JsonProperty(value = "isDefault")
private Boolean isDefault;
Minor versions associated with the major version.
/**
* Minor versions associated with the major version.
*/
@JsonProperty(value = "minorVersions")
private List<StackMinorVersion> minorVersions;
<code>true</code> if this supports Application Insights;
otherwise, <code>false</code>.
/**
* <code>true</code> if this supports Application Insights;
* otherwise, <code>false</code>.
*/
@JsonProperty(value = "applicationInsights")
private Boolean applicationInsights;
<code>true</code> if this stack is in Preview, otherwise
<code>false</code>.
/**
* <code>true</code> if this stack is in Preview, otherwise
* <code>false</code>.
*/
@JsonProperty(value = "isPreview")
private Boolean isPreview;
<code>true</code> if this stack has been deprecated,
otherwise <code>false</code>.
/**
* <code>true</code> if this stack has been deprecated,
* otherwise <code>false</code>.
*/
@JsonProperty(value = "isDeprecated")
private Boolean isDeprecated;
<code>true</code> if this stack should be hidden for new
customers on portal, otherwise <code>false</code>.
/**
* <code>true</code> if this stack should be hidden for new
* customers on portal, otherwise <code>false</code>.
*/
@JsonProperty(value = "isHidden")
private Boolean isHidden;
Get application stack major version (display only).
Returns: the displayVersion value
/**
* Get application stack major version (display only).
*
* @return the displayVersion value
*/
public String displayVersion() {
return this.displayVersion;
}
Set application stack major version (display only).
Params: - displayVersion – the displayVersion value to set
Returns: the StackMajorVersion object itself.
/**
* Set application stack major version (display only).
*
* @param displayVersion the displayVersion value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withDisplayVersion(String displayVersion) {
this.displayVersion = displayVersion;
return this;
}
Get application stack major version (runtime only).
Returns: the runtimeVersion value
/**
* Get application stack major version (runtime only).
*
* @return the runtimeVersion value
*/
public String runtimeVersion() {
return this.runtimeVersion;
}
Set application stack major version (runtime only).
Params: - runtimeVersion – the runtimeVersion value to set
Returns: the StackMajorVersion object itself.
/**
* Set application stack major version (runtime only).
*
* @param runtimeVersion the runtimeVersion value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withRuntimeVersion(String runtimeVersion) {
this.runtimeVersion = runtimeVersion;
return this;
}
Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.
Returns: the isDefault value
/**
* Get <code>true</code> if this is the default major version; otherwise, <code>false</code>.
*
* @return the isDefault value
*/
public Boolean isDefault() {
return this.isDefault;
}
Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.
Params: - isDefault – the isDefault value to set
Returns: the StackMajorVersion object itself.
/**
* Set <code>true</code> if this is the default major version; otherwise, <code>false</code>.
*
* @param isDefault the isDefault value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
return this;
}
Get minor versions associated with the major version.
Returns: the minorVersions value
/**
* Get minor versions associated with the major version.
*
* @return the minorVersions value
*/
public List<StackMinorVersion> minorVersions() {
return this.minorVersions;
}
Set minor versions associated with the major version.
Params: - minorVersions – the minorVersions value to set
Returns: the StackMajorVersion object itself.
/**
* Set minor versions associated with the major version.
*
* @param minorVersions the minorVersions value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withMinorVersions(List<StackMinorVersion> minorVersions) {
this.minorVersions = minorVersions;
return this;
}
Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
Returns: the applicationInsights value
/**
* Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
*
* @return the applicationInsights value
*/
public Boolean applicationInsights() {
return this.applicationInsights;
}
Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
Params: - applicationInsights – the applicationInsights value to set
Returns: the StackMajorVersion object itself.
/**
* Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>.
*
* @param applicationInsights the applicationInsights value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withApplicationInsights(Boolean applicationInsights) {
this.applicationInsights = applicationInsights;
return this;
}
Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
Returns: the isPreview value
/**
* Get <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
*
* @return the isPreview value
*/
public Boolean isPreview() {
return this.isPreview;
}
Set <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
Params: - isPreview – the isPreview value to set
Returns: the StackMajorVersion object itself.
/**
* Set <code>true</code> if this stack is in Preview, otherwise <code>false</code>.
*
* @param isPreview the isPreview value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withIsPreview(Boolean isPreview) {
this.isPreview = isPreview;
return this;
}
Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
Returns: the isDeprecated value
/**
* Get <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
*
* @return the isDeprecated value
*/
public Boolean isDeprecated() {
return this.isDeprecated;
}
Set <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
Params: - isDeprecated – the isDeprecated value to set
Returns: the StackMajorVersion object itself.
/**
* Set <code>true</code> if this stack has been deprecated, otherwise <code>false</code>.
*
* @param isDeprecated the isDeprecated value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withIsDeprecated(Boolean isDeprecated) {
this.isDeprecated = isDeprecated;
return this;
}
Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
Returns: the isHidden value
/**
* Get <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
*
* @return the isHidden value
*/
public Boolean isHidden() {
return this.isHidden;
}
Set <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
Params: - isHidden – the isHidden value to set
Returns: the StackMajorVersion object itself.
/**
* Set <code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>.
*
* @param isHidden the isHidden value to set
* @return the StackMajorVersion object itself.
*/
public StackMajorVersion withIsHidden(Boolean isHidden) {
this.isHidden = isHidden;
return this;
}
}