All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog2.lookup.adapters.AutoValue_CSVFileDataAdapter_Config Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog2.lookup.adapters;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.lang.Boolean;
import java.lang.String;
import java.util.Optional;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

final class AutoValue_CSVFileDataAdapter_Config extends $AutoValue_CSVFileDataAdapter_Config {
  AutoValue_CSVFileDataAdapter_Config(String type, String path, String separator, String quotechar,
      String keyColumn, String valueColumn, long checkInterval,
      Optional caseInsensitiveLookup, Optional cidrLookup) {
    super(type, path, separator, quotechar, keyColumn, valueColumn, checkInterval, caseInsensitiveLookup, cidrLookup);
  }

  @JsonIgnore
  public final String getType() {
    return type();
  }

  @JsonIgnore
  @NotEmpty
  public final String getPath() {
    return path();
  }

  @JsonIgnore
  @Size(
      min = 1,
      max = 1
      )
  @NotEmpty
  public final String getSeparator() {
    return separator();
  }

  @JsonIgnore
  @Size(
      min = 1,
      max = 1
      )
  @NotEmpty
  public final String getQuotechar() {
    return quotechar();
  }

  @JsonIgnore
  @NotEmpty
  public final String getKeyColumn() {
    return keyColumn();
  }

  @JsonIgnore
  @NotEmpty
  public final String getValueColumn() {
    return valueColumn();
  }

  @JsonIgnore
  @Min(1)
  public final long getCheckInterval() {
    return checkInterval();
  }

  @JsonIgnore
  public final Optional getCaseInsensitiveLookup() {
    return caseInsensitiveLookup();
  }

  @JsonIgnore
  public final Optional getCidrLookup() {
    return cidrLookup();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy