com.hubspot.singularity.config.HistoryPurgeRequestSettings Maven / Gradle / Ivy
package com.hubspot.singularity.config;
import java.util.Optional;
public class HistoryPurgeRequestSettings {
private Optional deleteTaskHistoryAfterDays = Optional.empty();
private Optional deleteTaskHistoryAfterTasksPerRequest = Optional.empty();
private Optional deleteTaskHistoryBytesAfterDays = Optional.empty();
private Optional deleteTaskHistoryBytesAfterTasksPerRequest = Optional.empty();
public Optional getDeleteTaskHistoryAfterDays() {
return deleteTaskHistoryAfterDays;
}
public HistoryPurgeRequestSettings setDeleteTaskHistoryAfterDays(
Optional deleteTaskHistoryAfterDays
) {
this.deleteTaskHistoryAfterDays = deleteTaskHistoryAfterDays;
return this;
}
public Optional getDeleteTaskHistoryAfterTasksPerRequest() {
return deleteTaskHistoryAfterTasksPerRequest;
}
public void setDeleteTaskHistoryAfterTasksPerRequest(
Optional deleteTaskHistoryAfterTasksPerRequest
) {
this.deleteTaskHistoryAfterTasksPerRequest = deleteTaskHistoryAfterTasksPerRequest;
}
public Optional getDeleteTaskHistoryBytesAfterDays() {
return deleteTaskHistoryBytesAfterDays;
}
public void setDeleteTaskHistoryBytesAfterDays(
Optional deleteTaskHistoryBytesAfterDays
) {
this.deleteTaskHistoryBytesAfterDays = deleteTaskHistoryBytesAfterDays;
}
public Optional getDeleteTaskHistoryBytesAfterTasksPerRequest() {
return deleteTaskHistoryBytesAfterTasksPerRequest;
}
public void setDeleteTaskHistoryBytesAfterTasksPerRequest(
Optional deleteTaskHistoryBytesAfterTasksPerRequest
) {
this.deleteTaskHistoryBytesAfterTasksPerRequest =
deleteTaskHistoryBytesAfterTasksPerRequest;
}
@Override
public String toString() {
return (
"HistoryPurgeRequestSettings{" +
"deleteTaskHistoryAfterDays=" +
deleteTaskHistoryAfterDays +
", deleteTaskHistoryAfterTasksPerRequest=" +
deleteTaskHistoryAfterTasksPerRequest +
", deleteTaskHistoryBytesAfterDays=" +
deleteTaskHistoryBytesAfterDays +
", deleteTaskHistoryBytesAfterTasksPerRequest=" +
deleteTaskHistoryBytesAfterTasksPerRequest +
'}'
);
}
}