VirtualApplication Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. VirtualApplication
- com.
Implements
public final class VirtualApplication
implements JsonSerializable<VirtualApplication>
Virtual application in an app.
Constructor Summary
Constructor | Description |
---|---|
VirtualApplication() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
physicalPath()
Get the physical |
Boolean |
preloadEnabled()
Get the preload |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Virtual |
virtualDirectories()
Get the virtual |
String |
virtualPath()
Get the virtual |
Virtual |
withPhysicalPath(String physicalPath)
Set the physical |
Virtual |
withPreloadEnabled(Boolean preloadEnabled)
Set the preload |
Virtual |
withVirtualDirectories(List<VirtualDirectory> virtualDirectories)
Set the virtual |
Virtual |
withVirtualPath(String virtualPath)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
VirtualApplication
public VirtualApplication()
Creates an instance of VirtualApplication class.
Method Details
fromJson
public static VirtualApplication fromJson(JsonReader jsonReader)
Reads an instance of VirtualApplication from the JsonReader.
Parameters:
Returns:
Throws:
physicalPath
public String physicalPath()
Get the physicalPath property: Physical path.
Returns:
preloadEnabled
public Boolean preloadEnabled()
Get the preloadEnabled property: true
if preloading is enabled; otherwise, false
.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualDirectories
public List
Get the virtualDirectories property: Virtual directories for virtual application.
Returns:
virtualPath
public String virtualPath()
Get the virtualPath property: Virtual path.
Returns:
withPhysicalPath
public VirtualApplication withPhysicalPath(String physicalPath)
Set the physicalPath property: Physical path.
Parameters:
Returns:
withPreloadEnabled
public VirtualApplication withPreloadEnabled(Boolean preloadEnabled)
Set the preloadEnabled property: true
if preloading is enabled; otherwise, false
.
Parameters:
Returns:
withVirtualDirectories
public VirtualApplication withVirtualDirectories(List
Set the virtualDirectories property: Virtual directories for virtual application.
Parameters:
Returns:
withVirtualPath
public VirtualApplication withVirtualPath(String virtualPath)
Set the virtualPath property: Virtual path.
Parameters:
Returns:
Applies to
Azure SDK for Java