Class ApplicationStackResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.ApplicationStackResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
ARM resource for a ApplicationStack.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationStackResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dependency property: Application stack dependency.display()Get the display property: Application stack display name.Get the frameworks property: List of frameworks associated with application stack.Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.Get the majorVersions property: List of major versions available.Get the name property: Application stack name.voidvalidate()Validates the instance.withDependency(String dependency) Set the dependency property: Application stack dependency.withDisplay(String display) Set the display property: Application stack display name.withFrameworks(List<ApplicationStack> frameworks) Set the frameworks property: List of frameworks associated with application stack.withIsDeprecated(List<ApplicationStack> isDeprecated) Set the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.Set the kind property: Kind of resource.withMajorVersions(List<StackMajorVersion> majorVersions) Set the majorVersions property: List of major versions available.withNamePropertiesName(String name) Set the name property: Application stack name.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
ApplicationStackResourceInner
public ApplicationStackResourceInner()Creates an instance of ApplicationStackResourceInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
namePropertiesName
Get the name property: Application stack name.- Returns:
- the name value.
-
withNamePropertiesName
Set the name property: Application stack name.- Parameters:
name- the name value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
display
Get the display property: Application stack display name.- Returns:
- the display value.
-
withDisplay
Set the display property: Application stack display name.- Parameters:
display- the display value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
dependency
Get the dependency property: Application stack dependency.- Returns:
- the dependency value.
-
withDependency
Set the dependency property: Application stack dependency.- Parameters:
dependency- the dependency value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
majorVersions
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
withMajorVersions
Set the majorVersions property: List of major versions available.- Parameters:
majorVersions- the majorVersions value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
frameworks
Get the frameworks property: List of frameworks associated with application stack.- Returns:
- the frameworks value.
-
withFrameworks
Set the frameworks property: List of frameworks associated with application stack.- Parameters:
frameworks- the frameworks value to set.- Returns:
- the ApplicationStackResourceInner object itself.
-
isDeprecated
Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.- Returns:
- the isDeprecated value.
-
withIsDeprecated
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.
-