Class VirtualApplication
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.VirtualApplication
-
public final class VirtualApplication extends Object
Virtual application in an app.
-
-
Constructor Summary
Constructors Constructor Description VirtualApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringphysicalPath()Get the physicalPath property: Physical path.BooleanpreloadEnabled()Get the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.voidvalidate()Validates the instance.List<VirtualDirectory>virtualDirectories()Get the virtualDirectories property: Virtual directories for virtual application.StringvirtualPath()Get the virtualPath property: Virtual path.VirtualApplicationwithPhysicalPath(String physicalPath)Set the physicalPath property: Physical path.VirtualApplicationwithPreloadEnabled(Boolean preloadEnabled)Set the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.VirtualApplicationwithVirtualDirectories(List<VirtualDirectory> virtualDirectories)Set the virtualDirectories property: Virtual directories for virtual application.VirtualApplicationwithVirtualPath(String virtualPath)Set the virtualPath property: Virtual path.
-
-
-
Method Detail
-
virtualPath
public String virtualPath()
Get the virtualPath property: Virtual path.- Returns:
- the virtualPath value.
-
withVirtualPath
public VirtualApplication withVirtualPath(String virtualPath)
Set the virtualPath property: Virtual path.- Parameters:
virtualPath- the virtualPath value to set.- Returns:
- the VirtualApplication object itself.
-
physicalPath
public String physicalPath()
Get the physicalPath property: Physical path.- Returns:
- the physicalPath value.
-
withPhysicalPath
public VirtualApplication withPhysicalPath(String physicalPath)
Set the physicalPath property: Physical path.- Parameters:
physicalPath- the physicalPath value to set.- Returns:
- the VirtualApplication object itself.
-
preloadEnabled
public Boolean preloadEnabled()
Get the preloadEnabled property: <code>true</code> if preloading is enabled; otherwise, <code>false</code>.- Returns:
- the preloadEnabled value.
-
withPreloadEnabled
public VirtualApplication withPreloadEnabled(Boolean preloadEnabled)
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
public List<VirtualDirectory> virtualDirectories()
Get the virtualDirectories property: Virtual directories for virtual application.- Returns:
- the virtualDirectories value.
-
withVirtualDirectories
public VirtualApplication withVirtualDirectories(List<VirtualDirectory> virtualDirectories)
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.
-
-