Class ApplicationStack
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.ApplicationStack
-
public final class ApplicationStack extends Object
Application stack.
-
-
Constructor Summary
Constructors Constructor Description ApplicationStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdependency()Get the dependency property: Application stack dependency.Stringdisplay()Get the display property: Application stack display name.List<ApplicationStack>frameworks()Get the frameworks property: List of frameworks associated with application stack.List<ApplicationStack>isDeprecated()Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.List<StackMajorVersion>majorVersions()Get the majorVersions property: List of major versions available.Stringname()Get the name property: Application stack name.voidvalidate()Validates the instance.ApplicationStackwithDependency(String dependency)Set the dependency property: Application stack dependency.ApplicationStackwithDisplay(String display)Set the display property: Application stack display name.ApplicationStackwithFrameworks(List<ApplicationStack> frameworks)Set the frameworks property: List of frameworks associated with application stack.ApplicationStackwithIsDeprecated(List<ApplicationStack> isDeprecated)Set the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.ApplicationStackwithMajorVersions(List<StackMajorVersion> majorVersions)Set the majorVersions property: List of major versions available.ApplicationStackwithName(String name)Set the name property: Application stack name.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Application stack name.- Returns:
- the name value.
-
withName
public ApplicationStack withName(String name)
Set the name property: Application stack name.- Parameters:
name- the name value to set.- Returns:
- the ApplicationStack object itself.
-
display
public String display()
Get the display property: Application stack display name.- Returns:
- the display value.
-
withDisplay
public ApplicationStack withDisplay(String display)
Set the display property: Application stack display name.- Parameters:
display- the display value to set.- Returns:
- the ApplicationStack object itself.
-
dependency
public String dependency()
Get the dependency property: Application stack dependency.- Returns:
- the dependency value.
-
withDependency
public ApplicationStack withDependency(String dependency)
Set the dependency property: Application stack dependency.- Parameters:
dependency- the dependency value to set.- Returns:
- the ApplicationStack object itself.
-
majorVersions
public List<StackMajorVersion> majorVersions()
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
withMajorVersions
public ApplicationStack withMajorVersions(List<StackMajorVersion> majorVersions)
Set the majorVersions property: List of major versions available.- Parameters:
majorVersions- the majorVersions value to set.- Returns:
- the ApplicationStack object itself.
-
frameworks
public List<ApplicationStack> frameworks()
Get the frameworks property: List of frameworks associated with application stack.- Returns:
- the frameworks value.
-
withFrameworks
public ApplicationStack withFrameworks(List<ApplicationStack> frameworks)
Set the frameworks property: List of frameworks associated with application stack.- Parameters:
frameworks- the frameworks value to set.- Returns:
- the ApplicationStack object itself.
-
isDeprecated
public List<ApplicationStack> isDeprecated()
Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.- Returns:
- the isDeprecated value.
-
withIsDeprecated
public ApplicationStack withIsDeprecated(List<ApplicationStack> isDeprecated)
Set the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.- Parameters:
isDeprecated- the isDeprecated value to set.- Returns:
- the ApplicationStack object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-