@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-09-25T07:41:36.316Z") public class ApiSnapshotPolicy extends Object
Constructor and Description |
---|
ApiSnapshotPolicy() |
Modifier and Type | Method and Description |
---|---|
ApiSnapshotPolicy |
addHoursForHourlySnapshotsItem(BigDecimal hoursForHourlySnapshotsItem) |
ApiSnapshotPolicy |
alertOnAbort(Boolean alertOnAbort) |
ApiSnapshotPolicy |
alertOnFail(Boolean alertOnFail) |
ApiSnapshotPolicy |
alertOnStart(Boolean alertOnStart) |
ApiSnapshotPolicy |
alertOnSuccess(Boolean alertOnSuccess) |
ApiSnapshotPolicy |
dailySnapshots(BigDecimal dailySnapshots) |
ApiSnapshotPolicy |
dayOfMonth(BigDecimal dayOfMonth) |
ApiSnapshotPolicy |
dayOfWeek(BigDecimal dayOfWeek) |
ApiSnapshotPolicy |
description(String description) |
boolean |
equals(Object o) |
Boolean |
getAlertOnAbort()
Whether to alert on abort of snapshot creation/deletion activity.
|
Boolean |
getAlertOnFail()
Whether to alert on failure of snapshot creation/deletion activity.
|
Boolean |
getAlertOnStart()
Whether to alert on start of snapshot creation/deletion activity.
|
Boolean |
getAlertOnSuccess()
Whether to alert on successful completion of snapshot creation/deletion activity.
|
BigDecimal |
getDailySnapshots()
Number of daily snapshots to be retained.
|
BigDecimal |
getDayOfMonth()
Day of the month that monthly and yearly snapshots should be created.
|
BigDecimal |
getDayOfWeek()
Day of the week that weekly snapshots should be created.
|
String |
getDescription()
Description of the snapshot policy.
|
ApiHBaseSnapshotPolicyArguments |
getHbaseArguments()
Arguments specific to HBase snapshot policies.
|
ApiHdfsSnapshotPolicyArguments |
getHdfsArguments()
Arguments specific to Hdfs snapshot policies.
|
BigDecimal |
getHourlySnapshots()
Number of hourly snapshots to be retained.
|
BigDecimal |
getHourOfDay()
Hour in the day that daily, weekly, monthly and yearly snapshots should be created.
|
List<BigDecimal> |
getHoursForHourlySnapshots()
Hours of the day that hourly snapshots should be created.
|
ApiSnapshotCommand |
getLastCommand()
Latest command of this policy.
|
ApiSnapshotCommand |
getLastSuccessfulCommand()
Last successful command of this policy.
|
BigDecimal |
getMinuteOfHour()
Minute in the hour that hourly, daily, weekly, monthly and yearly snapshots should be created.
|
BigDecimal |
getMonthlySnapshots()
Number of monthly snapshots to be retained.
|
BigDecimal |
getMonthOfYear()
Month of the year that yearly snapshots should be created.
|
String |
getName()
Name of the snapshot policy.
|
Boolean |
getPaused()
Whether to pause a snapshot policy, available since V11.
|
BigDecimal |
getWeeklySnapshots()
Number of weekly snapshots to be retained.
|
BigDecimal |
getYearlySnapshots()
Number of yearly snapshots to be retained.
|
int |
hashCode() |
ApiSnapshotPolicy |
hbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments) |
ApiSnapshotPolicy |
hdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments) |
ApiSnapshotPolicy |
hourlySnapshots(BigDecimal hourlySnapshots) |
ApiSnapshotPolicy |
hourOfDay(BigDecimal hourOfDay) |
ApiSnapshotPolicy |
hoursForHourlySnapshots(List<BigDecimal> hoursForHourlySnapshots) |
ApiSnapshotPolicy |
lastCommand(ApiSnapshotCommand lastCommand) |
ApiSnapshotPolicy |
lastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand) |
ApiSnapshotPolicy |
minuteOfHour(BigDecimal minuteOfHour) |
ApiSnapshotPolicy |
monthlySnapshots(BigDecimal monthlySnapshots) |
ApiSnapshotPolicy |
monthOfYear(BigDecimal monthOfYear) |
ApiSnapshotPolicy |
name(String name) |
ApiSnapshotPolicy |
paused(Boolean paused) |
void |
setAlertOnAbort(Boolean alertOnAbort) |
void |
setAlertOnFail(Boolean alertOnFail) |
void |
setAlertOnStart(Boolean alertOnStart) |
void |
setAlertOnSuccess(Boolean alertOnSuccess) |
void |
setDailySnapshots(BigDecimal dailySnapshots) |
void |
setDayOfMonth(BigDecimal dayOfMonth) |
void |
setDayOfWeek(BigDecimal dayOfWeek) |
void |
setDescription(String description) |
void |
setHbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments) |
void |
setHdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments) |
void |
setHourlySnapshots(BigDecimal hourlySnapshots) |
void |
setHourOfDay(BigDecimal hourOfDay) |
void |
setHoursForHourlySnapshots(List<BigDecimal> hoursForHourlySnapshots) |
void |
setLastCommand(ApiSnapshotCommand lastCommand) |
void |
setLastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand) |
void |
setMinuteOfHour(BigDecimal minuteOfHour) |
void |
setMonthlySnapshots(BigDecimal monthlySnapshots) |
void |
setMonthOfYear(BigDecimal monthOfYear) |
void |
setName(String name) |
void |
setPaused(Boolean paused) |
void |
setWeeklySnapshots(BigDecimal weeklySnapshots) |
void |
setYearlySnapshots(BigDecimal yearlySnapshots) |
String |
toString() |
ApiSnapshotPolicy |
weeklySnapshots(BigDecimal weeklySnapshots) |
ApiSnapshotPolicy |
yearlySnapshots(BigDecimal yearlySnapshots) |
public ApiSnapshotPolicy name(String name)
public String getName()
public void setName(String name)
public ApiSnapshotPolicy description(String description)
public String getDescription()
public void setDescription(String description)
public ApiSnapshotPolicy hourlySnapshots(BigDecimal hourlySnapshots)
public BigDecimal getHourlySnapshots()
public void setHourlySnapshots(BigDecimal hourlySnapshots)
public ApiSnapshotPolicy dailySnapshots(BigDecimal dailySnapshots)
public BigDecimal getDailySnapshots()
public void setDailySnapshots(BigDecimal dailySnapshots)
public ApiSnapshotPolicy weeklySnapshots(BigDecimal weeklySnapshots)
public BigDecimal getWeeklySnapshots()
public void setWeeklySnapshots(BigDecimal weeklySnapshots)
public ApiSnapshotPolicy monthlySnapshots(BigDecimal monthlySnapshots)
public BigDecimal getMonthlySnapshots()
public void setMonthlySnapshots(BigDecimal monthlySnapshots)
public ApiSnapshotPolicy yearlySnapshots(BigDecimal yearlySnapshots)
public BigDecimal getYearlySnapshots()
public void setYearlySnapshots(BigDecimal yearlySnapshots)
public ApiSnapshotPolicy minuteOfHour(BigDecimal minuteOfHour)
public BigDecimal getMinuteOfHour()
public void setMinuteOfHour(BigDecimal minuteOfHour)
public ApiSnapshotPolicy hoursForHourlySnapshots(List<BigDecimal> hoursForHourlySnapshots)
public ApiSnapshotPolicy addHoursForHourlySnapshotsItem(BigDecimal hoursForHourlySnapshotsItem)
public List<BigDecimal> getHoursForHourlySnapshots()
public void setHoursForHourlySnapshots(List<BigDecimal> hoursForHourlySnapshots)
public ApiSnapshotPolicy hourOfDay(BigDecimal hourOfDay)
public BigDecimal getHourOfDay()
public void setHourOfDay(BigDecimal hourOfDay)
public ApiSnapshotPolicy dayOfWeek(BigDecimal dayOfWeek)
public BigDecimal getDayOfWeek()
public void setDayOfWeek(BigDecimal dayOfWeek)
public ApiSnapshotPolicy dayOfMonth(BigDecimal dayOfMonth)
public BigDecimal getDayOfMonth()
public void setDayOfMonth(BigDecimal dayOfMonth)
public ApiSnapshotPolicy monthOfYear(BigDecimal monthOfYear)
public BigDecimal getMonthOfYear()
public void setMonthOfYear(BigDecimal monthOfYear)
public ApiSnapshotPolicy alertOnStart(Boolean alertOnStart)
public Boolean getAlertOnStart()
public void setAlertOnStart(Boolean alertOnStart)
public ApiSnapshotPolicy alertOnSuccess(Boolean alertOnSuccess)
public Boolean getAlertOnSuccess()
public void setAlertOnSuccess(Boolean alertOnSuccess)
public ApiSnapshotPolicy alertOnFail(Boolean alertOnFail)
public Boolean getAlertOnFail()
public void setAlertOnFail(Boolean alertOnFail)
public ApiSnapshotPolicy alertOnAbort(Boolean alertOnAbort)
public Boolean getAlertOnAbort()
public void setAlertOnAbort(Boolean alertOnAbort)
public ApiSnapshotPolicy hbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments)
public ApiHBaseSnapshotPolicyArguments getHbaseArguments()
public void setHbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments)
public ApiSnapshotPolicy hdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments)
public ApiHdfsSnapshotPolicyArguments getHdfsArguments()
public void setHdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments)
public ApiSnapshotPolicy lastCommand(ApiSnapshotCommand lastCommand)
public ApiSnapshotCommand getLastCommand()
public void setLastCommand(ApiSnapshotCommand lastCommand)
public ApiSnapshotPolicy lastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand)
public ApiSnapshotCommand getLastSuccessfulCommand()
public void setLastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand)
public ApiSnapshotPolicy paused(Boolean paused)
public Boolean getPaused()
public void setPaused(Boolean paused)
Copyright © 2019. All rights reserved.