VirtualApplication Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.VirtualApplication

Implements

public final class VirtualApplication
implements JsonSerializable<VirtualApplication>

Virtual application in an app.

Constructor Summary

Constructor Description
VirtualApplication()

Creates an instance of VirtualApplication class.

Method Summary

Modifier and Type Method and Description
static VirtualApplication fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplication from the JsonReader.

String physicalPath()

Get the physicalPath property: Physical path.

Boolean preloadEnabled()

Get the preloadEnabled property: true if preloading is enabled; otherwise, false.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VirtualDirectory> virtualDirectories()

Get the virtualDirectories property: Virtual directories for virtual application.

String virtualPath()

Get the virtualPath property: Virtual path.

VirtualApplication withPhysicalPath(String physicalPath)

Set the physicalPath property: Physical path.

VirtualApplication withPreloadEnabled(Boolean preloadEnabled)

Set the preloadEnabled property: true if preloading is enabled; otherwise, false.

VirtualApplication withVirtualDirectories(List<VirtualDirectory> virtualDirectories)

Set the virtualDirectories property: Virtual directories for virtual application.

VirtualApplication withVirtualPath(String virtualPath)

Set the virtualPath property: Virtual path.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualApplication if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualApplication.

physicalPath

public String physicalPath()

Get the physicalPath property: Physical path.

Returns:

the physicalPath value.

preloadEnabled

public Boolean preloadEnabled()

Get the preloadEnabled property: true if preloading is enabled; otherwise, false.

Returns:

the preloadEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualDirectories

public List virtualDirectories()

Get the virtualDirectories property: Virtual directories for virtual application.

Returns:

the virtualDirectories value.

virtualPath

public String virtualPath()

Get the virtualPath property: Virtual path.

Returns:

the virtualPath 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.

withPreloadEnabled

public VirtualApplication withPreloadEnabled(Boolean preloadEnabled)

Set the preloadEnabled property: true if preloading is enabled; otherwise, false.

Parameters:

preloadEnabled - the preloadEnabled value to set.

Returns:

the VirtualApplication object itself.

withVirtualDirectories

public VirtualApplication withVirtualDirectories(List virtualDirectories)

Set the virtualDirectories property: Virtual directories for virtual application.

Parameters:

virtualDirectories - the virtualDirectories value to set.

Returns:

the VirtualApplication object itself.

withVirtualPath

public VirtualApplication withVirtualPath(String virtualPath)

Set the virtualPath property: Virtual path.

Parameters:

virtualPath - the virtualPath value to set.

Returns:

the VirtualApplication object itself.

Applies to