Package | Description |
---|---|
com.vmware.snapservice |
The
com.vmware.snapservice package provides interfaces for configuring
and managing vSAN protection groups and snapshots |
Modifier and Type | Field and Description |
---|---|
static TimeUnit |
TimeUnit.DAY
Day.
|
static TimeUnit |
TimeUnit.HOUR
Hours.
|
static TimeUnit |
TimeUnit.MINUTE
Minutes.
|
static TimeUnit |
TimeUnit.MONTH
Months.
|
static TimeUnit |
TimeUnit.WEEK
Weeks.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
RetentionPeriod.getUnit()
Units for the retention period
|
TimeUnit |
SnapshotSchedule.getUnit()
Units for the interval.
|
static TimeUnit |
TimeUnit.valueOf(java.lang.String name)
Returns the enumeration constant for the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
Modifier and Type | Method and Description |
---|---|
void |
RetentionPeriod.setUnit(TimeUnit unit)
Units for the retention period
|
void |
SnapshotSchedule.setUnit(TimeUnit unit)
Units for the interval.
|
Constructor and Description |
---|
Builder(TimeUnit unit,
long duration)
Constructor with parameters for the required properties of
RetentionPeriod . |
Builder(TimeUnit unit,
long interval)
Constructor with parameters for the required properties of
SnapshotSchedule . |