@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-12-01T23:56:56.539Z") public class ApiSnapshotPolicy extends Object
Constructor and Description |
---|
ApiSnapshotPolicy() |
Modifier and Type | Method and Description |
---|---|
ApiSnapshotPolicy |
addHoursForHourlySnapshotsItem(Integer hoursForHourlySnapshotsItem) |
ApiSnapshotPolicy |
alertOnAbort(Boolean alertOnAbort) |
ApiSnapshotPolicy |
alertOnFail(Boolean alertOnFail) |
ApiSnapshotPolicy |
alertOnStart(Boolean alertOnStart) |
ApiSnapshotPolicy |
alertOnSuccess(Boolean alertOnSuccess) |
ApiSnapshotPolicy |
dailySnapshots(Integer dailySnapshots) |
ApiSnapshotPolicy |
dayOfMonth(Integer dayOfMonth) |
ApiSnapshotPolicy |
dayOfWeek(Integer 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.
|
Integer |
getDailySnapshots()
Number of daily snapshots to be retained.
|
Integer |
getDayOfMonth()
Day of the month that monthly and yearly snapshots should be created.
|
Integer |
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.
|
Integer |
getHourlySnapshots()
Number of hourly snapshots to be retained.
|
Integer |
getHourOfDay()
Hour in the day that daily, weekly, monthly and yearly snapshots should be created.
|
List<Integer> |
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.
|
Integer |
getMinuteOfHour()
Minute in the hour that hourly, daily, weekly, monthly and yearly snapshots should be created.
|
Integer |
getMonthlySnapshots()
Number of monthly snapshots to be retained.
|
Integer |
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.
|
Integer |
getWeeklySnapshots()
Number of weekly snapshots to be retained.
|
Integer |
getYearlySnapshots()
Number of yearly snapshots to be retained.
|
int |
hashCode() |
ApiSnapshotPolicy |
hbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments) |
ApiSnapshotPolicy |
hdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments) |
ApiSnapshotPolicy |
hourlySnapshots(Integer hourlySnapshots) |
ApiSnapshotPolicy |
hourOfDay(Integer hourOfDay) |
ApiSnapshotPolicy |
hoursForHourlySnapshots(List<Integer> hoursForHourlySnapshots) |
ApiSnapshotPolicy |
lastCommand(ApiSnapshotCommand lastCommand) |
ApiSnapshotPolicy |
lastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand) |
ApiSnapshotPolicy |
minuteOfHour(Integer minuteOfHour) |
ApiSnapshotPolicy |
monthlySnapshots(Integer monthlySnapshots) |
ApiSnapshotPolicy |
monthOfYear(Integer 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(Integer dailySnapshots) |
void |
setDayOfMonth(Integer dayOfMonth) |
void |
setDayOfWeek(Integer dayOfWeek) |
void |
setDescription(String description) |
void |
setHbaseArguments(ApiHBaseSnapshotPolicyArguments hbaseArguments) |
void |
setHdfsArguments(ApiHdfsSnapshotPolicyArguments hdfsArguments) |
void |
setHourlySnapshots(Integer hourlySnapshots) |
void |
setHourOfDay(Integer hourOfDay) |
void |
setHoursForHourlySnapshots(List<Integer> hoursForHourlySnapshots) |
void |
setLastCommand(ApiSnapshotCommand lastCommand) |
void |
setLastSuccessfulCommand(ApiSnapshotCommand lastSuccessfulCommand) |
void |
setMinuteOfHour(Integer minuteOfHour) |
void |
setMonthlySnapshots(Integer monthlySnapshots) |
void |
setMonthOfYear(Integer monthOfYear) |
void |
setName(String name) |
void |
setPaused(Boolean paused) |
void |
setWeeklySnapshots(Integer weeklySnapshots) |
void |
setYearlySnapshots(Integer yearlySnapshots) |
String |
toString() |
ApiSnapshotPolicy |
weeklySnapshots(Integer weeklySnapshots) |
ApiSnapshotPolicy |
yearlySnapshots(Integer 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(Integer hourlySnapshots)
public Integer getHourlySnapshots()
public void setHourlySnapshots(Integer hourlySnapshots)
public ApiSnapshotPolicy dailySnapshots(Integer dailySnapshots)
public Integer getDailySnapshots()
public void setDailySnapshots(Integer dailySnapshots)
public ApiSnapshotPolicy weeklySnapshots(Integer weeklySnapshots)
public Integer getWeeklySnapshots()
public void setWeeklySnapshots(Integer weeklySnapshots)
public ApiSnapshotPolicy monthlySnapshots(Integer monthlySnapshots)
public Integer getMonthlySnapshots()
public void setMonthlySnapshots(Integer monthlySnapshots)
public ApiSnapshotPolicy yearlySnapshots(Integer yearlySnapshots)
public Integer getYearlySnapshots()
public void setYearlySnapshots(Integer yearlySnapshots)
public ApiSnapshotPolicy minuteOfHour(Integer minuteOfHour)
public Integer getMinuteOfHour()
public void setMinuteOfHour(Integer minuteOfHour)
public ApiSnapshotPolicy hoursForHourlySnapshots(List<Integer> hoursForHourlySnapshots)
public ApiSnapshotPolicy addHoursForHourlySnapshotsItem(Integer hoursForHourlySnapshotsItem)
public List<Integer> getHoursForHourlySnapshots()
public void setHoursForHourlySnapshots(List<Integer> hoursForHourlySnapshots)
public ApiSnapshotPolicy hourOfDay(Integer hourOfDay)
public Integer getHourOfDay()
public void setHourOfDay(Integer hourOfDay)
public ApiSnapshotPolicy dayOfWeek(Integer dayOfWeek)
public Integer getDayOfWeek()
public void setDayOfWeek(Integer dayOfWeek)
public ApiSnapshotPolicy dayOfMonth(Integer dayOfMonth)
public Integer getDayOfMonth()
public void setDayOfMonth(Integer dayOfMonth)
public ApiSnapshotPolicy monthOfYear(Integer monthOfYear)
public Integer getMonthOfYear()
public void setMonthOfYear(Integer 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 © 2020. All rights reserved.