Class DailySchedule

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

public final class DailySchedule extends Object
Daily Schedule properties.
  • Constructor Details

    • DailySchedule

      public DailySchedule()
  • Method Details

    • snapshotsToKeep

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

      public DailySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
      Set the snapshotsToKeep property: Daily snapshot count to keep.
      Parameters:
      snapshotsToKeep - the snapshotsToKeep value to set.
      Returns:
      the DailySchedule object itself.
    • hour

      public Integer hour()
      Get the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
      Returns:
      the hour value.
    • withHour

      public DailySchedule withHour(Integer hour)
      Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
      Parameters:
      hour - the hour value to set.
      Returns:
      the DailySchedule object itself.
    • minute

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

      public DailySchedule withMinute(Integer minute)
      Set the minute property: Indicates which minute snapshot should be taken.
      Parameters:
      minute - the minute value to set.
      Returns:
      the DailySchedule 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 DailySchedule 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 DailySchedule object itself.
    • validate

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