Class ApplicationStackResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.ApplicationStackResourceInner
-
public final class ApplicationStackResourceInner extends ProxyOnlyResource
ARM resource for a ApplicationStack.
-
-
Constructor Summary
Constructors Constructor Description ApplicationStackResourceInner()
-
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.StringnamePropertiesName()Get the name property: Application stack name.voidvalidate()Validates the instance.ApplicationStackResourceInnerwithDependency(String dependency)Set the dependency property: Application stack dependency.ApplicationStackResourceInnerwithDisplay(String display)Set the display property: Application stack display name.ApplicationStackResourceInnerwithFrameworks(List<ApplicationStack> frameworks)Set the frameworks property: List of frameworks associated with application stack.ApplicationStackResourceInnerwithIsDeprecated(List<ApplicationStack> isDeprecated)Set the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.ApplicationStackResourceInnerwithKind(String kind)Set the kind property: Kind of resource.ApplicationStackResourceInnerwithMajorVersions(List<StackMajorVersion> majorVersions)Set the majorVersions property: List of major versions available.ApplicationStackResourceInnerwithNamePropertiesName(String name)Set the name property: Application stack name.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public ApplicationStackResourceInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
namePropertiesName
public String namePropertiesName()
Get the name property: Application stack name.- Returns:
- the name value.
-
withNamePropertiesName
public ApplicationStackResourceInner withNamePropertiesName(String name)
Set the name property: Application stack name.- Parameters:
name- the name value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
display
public String display()
Get the display property: Application stack display name.- Returns:
- the display value.
-
withDisplay
public ApplicationStackResourceInner withDisplay(String display)
Set the display property: Application stack display name.- Parameters:
display- the display value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
dependency
public String dependency()
Get the dependency property: Application stack dependency.- Returns:
- the dependency value.
-
withDependency
public ApplicationStackResourceInner withDependency(String dependency)
Set the dependency property: Application stack dependency.- Parameters:
dependency- the dependency value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
majorVersions
public List<StackMajorVersion> majorVersions()
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
withMajorVersions
public ApplicationStackResourceInner withMajorVersions(List<StackMajorVersion> majorVersions)
Set the majorVersions property: List of major versions available.- Parameters:
majorVersions- the majorVersions value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
frameworks
public List<ApplicationStack> frameworks()
Get the frameworks property: List of frameworks associated with application stack.- Returns:
- the frameworks value.
-
withFrameworks
public ApplicationStackResourceInner withFrameworks(List<ApplicationStack> frameworks)
Set the frameworks property: List of frameworks associated with application stack.- Parameters:
frameworks- the frameworks value to set.- Returns:
- the ApplicationStackResourceInner 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 ApplicationStackResourceInner 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 ApplicationStackResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-