Class CustomPersistentDiskResource
java.lang.Object
com.azure.resourcemanager.appplatform.models.CustomPersistentDiskResource
Custom persistent disk resource payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.Get the storageId property: The resource id of Azure Spring Apps Storage resource.voidvalidate()Validates the instance.withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties) Set the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.withStorageId(String storageId) Set the storageId property: The resource id of Azure Spring Apps Storage resource.
-
Constructor Details
-
CustomPersistentDiskResource
public CustomPersistentDiskResource()
-
-
Method Details
-
customPersistentDiskProperties
Get the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.- Returns:
- the customPersistentDiskProperties value.
-
withCustomPersistentDiskProperties
public CustomPersistentDiskResource withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties) Set the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.- Parameters:
customPersistentDiskProperties- the customPersistentDiskProperties value to set.- Returns:
- the CustomPersistentDiskResource object itself.
-
storageId
Get the storageId property: The resource id of Azure Spring Apps Storage resource.- Returns:
- the storageId value.
-
withStorageId
Set the storageId property: The resource id of Azure Spring Apps Storage resource.- Parameters:
storageId- the storageId value to set.- Returns:
- the CustomPersistentDiskResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-