TemporaryDisk Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. TemporaryDisk
- com.
Implements
public final class TemporaryDisk
implements JsonSerializable<TemporaryDisk>
Temporary disk payload.
Constructor Summary
Constructor | Description |
---|---|
TemporaryDisk() |
Creates an instance of Temporary |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Temporary |
fromJson(JsonReader jsonReader)
Reads an instance of Temporary |
String |
mountPath()
Get the mount |
Integer |
sizeInGB()
Get the size |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Temporary |
withMountPath(String mountPath)
Set the mount |
Temporary |
withSizeInGB(Integer sizeInGB)
Set the size |
Methods inherited from java.lang.Object
Constructor Details
TemporaryDisk
public TemporaryDisk()
Creates an instance of TemporaryDisk class.
Method Details
fromJson
public static TemporaryDisk fromJson(JsonReader jsonReader)
Reads an instance of TemporaryDisk from the JsonReader.
Parameters:
Returns:
Throws:
mountPath
public String mountPath()
Get the mountPath property: Mount path of the temporary disk.
Returns:
sizeInGB
public Integer sizeInGB()
Get the sizeInGB property: Size of the temporary disk in GB.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMountPath
public TemporaryDisk withMountPath(String mountPath)
Set the mountPath property: Mount path of the temporary disk.
Parameters:
Returns:
withSizeInGB
public TemporaryDisk withSizeInGB(Integer sizeInGB)
Set the sizeInGB property: Size of the temporary disk in GB.
Parameters:
Returns:
Applies to
Azure SDK for Java