Class DataAdapterApi

java.lang.Object
org.graylog2.rest.models.system.lookup.DataAdapterApi
All Implemented Interfaces:
ScopedResponse

public abstract class DataAdapterApi extends Object implements ScopedResponse
  • Constructor Details

    • DataAdapterApi

      public DataAdapterApi()
  • Method Details

    • id

      @Nullable public abstract String id()
    • scope

      @Nullable public abstract String scope()
      Specified by:
      scope in interface ScopedResponse
    • title

      @NotEmpty public abstract @NotEmpty String title()
    • description

      public abstract String description()
    • name

      @NotEmpty public abstract @NotEmpty String name()
    • customErrorTTLEnabled

      @Nullable public abstract Boolean customErrorTTLEnabled()
    • customErrorTTL

      @Nullable public abstract Long customErrorTTL()
    • customErrorTTLUnit

      @Nullable public abstract TimeUnit customErrorTTLUnit()
    • contentPack

      @Nullable public abstract String contentPack()
    • config

      @NotNull public abstract @NotNull LookupDataAdapterConfiguration config()
    • builder

      public static DataAdapterApi.Builder builder()
    • fromDto

      public static DataAdapterApi fromDto(DataAdapterDto dto)
    • toDto

      public DataAdapterDto toDto()