Class VirtualApplication
java.lang.Object
com.azure.resourcemanager.appservice.models.VirtualApplication
Virtual application in an app.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the physicalPath property: Physical path.Get the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.voidvalidate()Validates the instance.Get the virtualDirectories property: Virtual directories for virtual application.Get the virtualPath property: Virtual path.withPhysicalPath(String physicalPath) Set the physicalPath property: Physical path.withPreloadEnabled(Boolean preloadEnabled) Set the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.withVirtualDirectories(List<VirtualDirectory> virtualDirectories) Set the virtualDirectories property: Virtual directories for virtual application.withVirtualPath(String virtualPath) Set the virtualPath property: Virtual path.
-
Constructor Details
-
VirtualApplication
public VirtualApplication()Creates an instance of VirtualApplication class.
-
-
Method Details
-
virtualPath
Get the virtualPath property: Virtual path.- Returns:
- the virtualPath value.
-
withVirtualPath
Set the virtualPath property: Virtual path.- Parameters:
virtualPath- the virtualPath value to set.- Returns:
- the VirtualApplication object itself.
-
physicalPath
Get the physicalPath property: Physical path.- Returns:
- the physicalPath value.
-
withPhysicalPath
Set the physicalPath property: Physical path.- Parameters:
physicalPath- the physicalPath value to set.- Returns:
- the VirtualApplication object itself.
-
preloadEnabled
Get the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.- Returns:
- the preloadEnabled value.
-
withPreloadEnabled
Set the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.- Parameters:
preloadEnabled- the preloadEnabled value to set.- Returns:
- the VirtualApplication object itself.
-
virtualDirectories
Get the virtualDirectories property: Virtual directories for virtual application.- Returns:
- the virtualDirectories value.
-
withVirtualDirectories
Set the virtualDirectories property: Virtual directories for virtual application.- Parameters:
virtualDirectories- the virtualDirectories value to set.- Returns:
- the VirtualApplication object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-