VirtualDirectory Class

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

Implements

public final class VirtualDirectory
implements JsonSerializable<VirtualDirectory>

Directory for virtual application.

Constructor Summary

Constructor Description
VirtualDirectory()

Creates an instance of VirtualDirectory class.

Method Summary

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

Reads an instance of VirtualDirectory from the JsonReader.

String physicalPath()

Get the physicalPath property: Physical path.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String virtualPath()

Get the virtualPath property: Path to virtual application.

VirtualDirectory withPhysicalPath(String physicalPath)

Set the physicalPath property: Physical path.

VirtualDirectory withVirtualPath(String virtualPath)

Set the virtualPath property: Path to virtual application.

Methods inherited from java.lang.Object

Constructor Details

VirtualDirectory

public VirtualDirectory()

Creates an instance of VirtualDirectory class.

Method Details

fromJson

public static VirtualDirectory fromJson(JsonReader jsonReader)

Reads an instance of VirtualDirectory from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualDirectory 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 VirtualDirectory.

physicalPath

public String physicalPath()

Get the physicalPath property: Physical path.

Returns:

the physicalPath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualPath

public String virtualPath()

Get the virtualPath property: Path to virtual application.

Returns:

the virtualPath value.

withPhysicalPath

public VirtualDirectory withPhysicalPath(String physicalPath)

Set the physicalPath property: Physical path.

Parameters:

physicalPath - the physicalPath value to set.

Returns:

the VirtualDirectory object itself.

withVirtualPath

public VirtualDirectory withVirtualPath(String virtualPath)

Set the virtualPath property: Path to virtual application.

Parameters:

virtualPath - the virtualPath value to set.

Returns:

the VirtualDirectory object itself.

Applies to