Class TimeBasedRotationStrategyResponse
java.lang.Object
org.graylog2.rest.models.system.responses.TimeBasedRotationStrategyResponse
- All Implemented Interfaces:
DeflectorConfigResponse
public abstract class TimeBasedRotationStrategyResponse
extends Object
implements DeflectorConfigResponse
-
Field Summary
Fields inherited from interface org.graylog2.rest.models.system.responses.DeflectorConfigResponse
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(int maxNumberOfIndices, org.joda.time.Period maxTimePerIndex) abstract org.joda.time.PeriodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.rest.models.system.responses.DeflectorConfigResponse
maxNumberOfIndices, type
-
Constructor Details
-
TimeBasedRotationStrategyResponse
public TimeBasedRotationStrategyResponse()
-
-
Method Details
-
maxTimePerIndex
public abstract org.joda.time.Period maxTimePerIndex() -
create
public static TimeBasedRotationStrategyResponse create(String type, int maxNumberOfIndices, org.joda.time.Period maxTimePerIndex) -
create
public static TimeBasedRotationStrategyResponse create(int maxNumberOfIndices, org.joda.time.Period maxTimePerIndex)
-