Class HourlySchedule

java.lang.Object
com.azure.resourcemanager.netapp.models.HourlySchedule

public final class HourlySchedule extends Object
Hourly Schedule properties.
  • Constructor Details

    • HourlySchedule

      public HourlySchedule()
  • Method Details

    • snapshotsToKeep

      public Integer snapshotsToKeep()
      Get the snapshotsToKeep property: Hourly snapshot count to keep.
      Returns:
      the snapshotsToKeep value.
    • withSnapshotsToKeep

      public HourlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
      Set the snapshotsToKeep property: Hourly snapshot count to keep.
      Parameters:
      snapshotsToKeep - the snapshotsToKeep value to set.
      Returns:
      the HourlySchedule object itself.
    • minute

      public Integer minute()
      Get the minute property: Indicates which minute snapshot should be taken.
      Returns:
      the minute value.
    • withMinute

      public HourlySchedule withMinute(Integer minute)
      Set the minute property: Indicates which minute snapshot should be taken.
      Parameters:
      minute - the minute value to set.
      Returns:
      the HourlySchedule object itself.
    • usedBytes

      public Long usedBytes()
      Get the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.
      Returns:
      the usedBytes value.
    • withUsedBytes

      public HourlySchedule withUsedBytes(Long usedBytes)
      Set the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.
      Parameters:
      usedBytes - the usedBytes value to set.
      Returns:
      the HourlySchedule object itself.
    • validate

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