Class CustomPersistentDiskResource

java.lang.Object
com.azure.resourcemanager.appplatform.models.CustomPersistentDiskResource

public final class CustomPersistentDiskResource extends Object
Custom persistent disk resource payload.
  • Constructor Details

    • CustomPersistentDiskResource

      public CustomPersistentDiskResource()
  • Method Details

    • customPersistentDiskProperties

      public CustomPersistentDiskProperties 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

      public String storageId()
      Get the storageId property: The resource id of Azure Spring Apps Storage resource.
      Returns:
      the storageId value.
    • withStorageId

      public CustomPersistentDiskResource withStorageId(String storageId)
      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.