Class SnapshotPolicy

java.lang.Object
org.jclouds.cloudstack.domain.SnapshotPolicy

public class SnapshotPolicy extends Object
Class SnapshotPolicy
  • Constructor Details

  • Method Details

    • builder

      public static SnapshotPolicy.Builder<?> builder()
    • toBuilder

      public SnapshotPolicy.Builder<?> toBuilder()
    • getId

      public String getId()
      Returns:
      the ID of the snapshot policy
    • getInterval

      @Nullable public Snapshot.Interval getInterval()
      Returns:
      valid types are hourly, daily, weekly, monthly, template, and none.
    • getNumberToRetain

      public long getNumberToRetain()
      Returns:
      maximum number of snapshots retained
    • getSchedule

      @Nullable public String getSchedule()
      Returns:
      time the snapshot is scheduled to be taken.
    • getTimezone

      @Nullable public String getTimezone()
      Returns:
      the time zone of the snapshot policy
    • getVolumeId

      @Nullable public String getVolumeId()
      Returns:
      ID of the disk volume
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object