RestoreFileSpec Class
- java.
lang. Object - com.
azure. resourcemanager. storagesync. models. RestoreFileSpec
- com.
Implements
public final class RestoreFileSpec
implements JsonSerializable<RestoreFileSpec>
Restore file spec.
Constructor Summary
| Constructor | Description |
|---|---|
| RestoreFileSpec() |
Creates an instance of Restore |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
| Boolean |
isdir()
Get the isdir property: Restore file spec isdir. |
| String |
path()
Get the path property: Restore file spec path. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Restore |
withIsdir(Boolean isdir)
Set the isdir property: Restore file spec isdir. |
|
Restore |
withPath(String path)
Set the path property: Restore file spec path. |
Methods inherited from java.lang.Object
Constructor Details
RestoreFileSpec
public RestoreFileSpec()
Creates an instance of RestoreFileSpec class.
Method Details
fromJson
public static RestoreFileSpec fromJson(JsonReader jsonReader)
Reads an instance of RestoreFileSpec from the JsonReader.
Parameters:
Returns:
Throws:
isdir
public Boolean isdir()
Get the isdir property: Restore file spec isdir.
Returns:
path
public String path()
Get the path property: Restore file spec path.
Returns:
toJson
withIsdir
public RestoreFileSpec withIsdir(Boolean isdir)
Set the isdir property: Restore file spec isdir.
Parameters:
Returns:
withPath
public RestoreFileSpec withPath(String path)
Set the path property: Restore file spec path.
Parameters:
Returns: