Class SapDiskConfiguration

java.lang.Object
com.azure.resourcemanager.workloads.models.SapDiskConfiguration

public final class SapDiskConfiguration extends Object
The SAP Disk Configuration.
  • Constructor Details

    • SapDiskConfiguration

      public SapDiskConfiguration()
  • Method Details

    • volume

      public String volume()
      Get the volume property: The volume name.
      Returns:
      the volume value.
    • withVolume

      public SapDiskConfiguration withVolume(String volume)
      Set the volume property: The volume name.
      Parameters:
      volume - the volume value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskType

      public String diskType()
      Get the diskType property: The disk type.
      Returns:
      the diskType value.
    • withDiskType

      public SapDiskConfiguration withDiskType(String diskType)
      Set the diskType property: The disk type.
      Parameters:
      diskType - the diskType value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskCount

      public Long diskCount()
      Get the diskCount property: The disk count.
      Returns:
      the diskCount value.
    • withDiskCount

      public SapDiskConfiguration withDiskCount(Long diskCount)
      Set the diskCount property: The disk count.
      Parameters:
      diskCount - the diskCount value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskSizeGB

      public Long diskSizeGB()
      Get the diskSizeGB property: The disk size in GB.
      Returns:
      the diskSizeGB value.
    • withDiskSizeGB

      public SapDiskConfiguration withDiskSizeGB(Long diskSizeGB)
      Set the diskSizeGB property: The disk size in GB.
      Parameters:
      diskSizeGB - the diskSizeGB value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskIopsReadWrite

      public Long diskIopsReadWrite()
      Get the diskIopsReadWrite property: The disk Iops.
      Returns:
      the diskIopsReadWrite value.
    • withDiskIopsReadWrite

      public SapDiskConfiguration withDiskIopsReadWrite(Long diskIopsReadWrite)
      Set the diskIopsReadWrite property: The disk Iops.
      Parameters:
      diskIopsReadWrite - the diskIopsReadWrite value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskMBpsReadWrite

      public Long diskMBpsReadWrite()
      Get the diskMBpsReadWrite property: The disk provisioned throughput in MBps.
      Returns:
      the diskMBpsReadWrite value.
    • withDiskMBpsReadWrite

      public SapDiskConfiguration withDiskMBpsReadWrite(Long diskMBpsReadWrite)
      Set the diskMBpsReadWrite property: The disk provisioned throughput in MBps.
      Parameters:
      diskMBpsReadWrite - the diskMBpsReadWrite value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • diskStorageType

      public String diskStorageType()
      Get the diskStorageType property: The disk storage type.
      Returns:
      the diskStorageType value.
    • withDiskStorageType

      public SapDiskConfiguration withDiskStorageType(String diskStorageType)
      Set the diskStorageType property: The disk storage type.
      Parameters:
      diskStorageType - the diskStorageType value to set.
      Returns:
      the SapDiskConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.