Class TemporaryDisk
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.TemporaryDisk
-
public final class TemporaryDisk extends Object
Temporary disk payload.
-
-
Constructor Summary
Constructors Constructor Description TemporaryDisk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmountPath()Get the mountPath property: Mount path of the temporary disk.IntegersizeInGB()Get the sizeInGB property: Size of the temporary disk in GB.voidvalidate()Validates the instance.TemporaryDiskwithMountPath(String mountPath)Set the mountPath property: Mount path of the temporary disk.TemporaryDiskwithSizeInGB(Integer sizeInGB)Set the sizeInGB property: Size of the temporary disk in GB.
-
-
-
Method Detail
-
sizeInGB
public Integer sizeInGB()
Get the sizeInGB property: Size of the temporary disk in GB.- Returns:
- the sizeInGB value.
-
withSizeInGB
public TemporaryDisk withSizeInGB(Integer sizeInGB)
Set the sizeInGB property: Size of the temporary disk in GB.- Parameters:
sizeInGB- the sizeInGB value to set.- Returns:
- the TemporaryDisk object itself.
-
mountPath
public String mountPath()
Get the mountPath property: Mount path of the temporary disk.- Returns:
- the mountPath value.
-
withMountPath
public TemporaryDisk withMountPath(String mountPath)
Set the mountPath property: Mount path of the temporary disk.- Parameters:
mountPath- the mountPath value to set.- Returns:
- the TemporaryDisk object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-