Class RollupJobConfig

    • Constructor Detail

      • RollupJobConfig

        public RollupJobConfig​(java.lang.String id,
                               java.lang.String indexPattern,
                               java.lang.String rollupIndex,
                               java.lang.String cron,
                               int pageSize,
                               GroupConfig groupConfig,
                               java.util.List<MetricConfig> metricsConfig,
                               @Nullable
                               TimeValue timeout)
    • Method Detail

      • validate

        public java.util.Optional<ValidationException> validate()
        Description copied from interface: Validatable
        Perform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. A ValidationException that is not null is assumed to contain validation errors and will be thrown.
        Specified by:
        validate in interface Validatable
        Returns:
        An Optional ValidationException that contains a list of validation errors.
      • getId

        public java.lang.String getId()
      • getMetricsConfig

        public java.util.List<MetricConfig> getMetricsConfig()
      • getIndexPattern

        public java.lang.String getIndexPattern()
      • getRollupIndex

        public java.lang.String getRollupIndex()
      • getCron

        public java.lang.String getCron()
      • getPageSize

        public int getPageSize()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object