public abstract class TransportConfig extends ConfigurableFactoryConfig<TransportConfig> { @JsonSchemaDefault("5") @JsonSchemaDescription("Number of concurrent transporters allowed") private Integer threads = 5; public Integer getThreads() { return threads; } public void setThreads(Integer threads) { this.threads = threads; } }
public abstract class RegionalTransportConfig extends TransportConfig { @JsonSchemaDescription("Region of remote AWS service. Not required to be set if you are " + "using a service within the Lambda's current region. Ensure a service is supported " + "in the remote region.") private Regions region = null; public Regions getRegion() { return region; } public void setRegion(Regions region) { this.region = region; } }
public abstract class TransportConfig extends ConfigurableFactoryConfig<TransportConfig> { @JsonSchemaDefault("5") @JsonSchemaDescription("Number of concurrent transporters allowed") private Integer threads = 5; public Integer getThreads() { return threads; } public void setThreads(Integer threads) { this.threads = threads; } }
public abstract class RegionalTransportConfig extends TransportConfig { @JsonSchemaDescription("Region of remote AWS service. Not required to be set if you are " + "using a service within the Lambda's current region. Ensure a service is supported " + "in the remote region.") private Regions region = null; public Regions getRegion() { return region; } public void setRegion(Regions region) { this.region = region; } }
public static class Fork { @JsonSchemaDescription("List of operations to perform.") @JsonSchemaDefault("[]") @JsonProperty(required = false) private List<OperationConfig> operations = Collections.emptyList(); public List<OperationConfig> getOperations() { return this.operations; } public void setOperations(List<OperationConfig> operations) { this.operations = operations; } }
public abstract class RegionalReporterConfig extends ReporterConfig { @JsonSchemaDescription("Region of remote AWS service. Not required to be set if you are " + "using a service within the Lambda's current region. Ensure a service is supported " + "in the remote region.") private Regions region = null; public Regions getRegion() { return region; } public void setRegion(Regions region) { this.region = region; } }
public abstract class ReporterConfig extends ConfigurableFactoryConfig { @JsonSchemaDescription("List of filter to apply to stats. If a stat matches the filter it is excluded when being published.") @JsonSchemaDefault("[]") @JsonProperty(required = false) private List<StatFilter> statFilters = Collections.emptyList(); public List<StatFilter> getStatFilters() { return statFilters; } public void setStatFilters(List<StatFilter> statFilters) { this.statFilters = statFilters; } }
public abstract class RegionalReporterConfig extends ReporterConfig { @JsonSchemaDescription("Region of remote AWS service. Not required to be set if you are " + "using a service within the Lambda's current region. Ensure a service is supported " + "in the remote region.") private Regions region = null; public Regions getRegion() { return region; } public void setRegion(Regions region) { this.region = region; } }
public abstract class ReporterConfig extends ConfigurableFactoryConfig { @JsonSchemaDescription("List of filter to apply to stats. If a stat matches the filter it is excluded when being published.") @JsonSchemaDefault("[]") @JsonProperty(required = false) private List<StatFilter> statFilters = Collections.emptyList(); public List<StatFilter> getStatFilters() { return statFilters; } public void setStatFilters(List<StatFilter> statFilters) { this.statFilters = statFilters; } }
@JsonSchemaDescription("The name of this line in the list") @JsonProperty(PROP_NAME) public String getName() { return _name; }
public static class Fork { @JsonSchemaDescription("List of operations to perform.") @JsonSchemaDefault("[]") @JsonProperty(required = false) private List<OperationConfig> operations = Collections.emptyList(); public List<OperationConfig> getOperations() { return this.operations; } public void setOperations(List<OperationConfig> operations) { this.operations = operations; } }
@JsonTypeName("JsonDropArraysOperation") @JsonSchemaDescription("Provided a JSON object it will remove any keys which have array values. " + "This is helpful for use with ElasticSearch which indexes arrays in a particular manner " + "not conducive to exploration. See: " + "https://www.elastic.co/guide/en/elasticsearch/guide/current/complex-core-fields.html") public class DropArraysOperationConfig extends OperationConfig { @Override public Class<DropArraysOperationFactory> getFactoryClass() { return DropArraysOperationFactory.class; } }
@JsonTypeName("BasicFilterOperation") @JsonSchemaDescription("If pass is set to false then events are filtered out.") public class BasicFilterOperationConfig extends FilterOperationConfig { @JsonSchemaDescription("If 'false', event is filtered out.") @JsonSchemaDefault(value = "false") private Boolean pass = false; public Boolean getPass() { return this.pass; } public void setPass(Boolean pass) { this.pass = pass; } @Override public Class<BasicFilterOperationFactory> getFactoryClass() { return BasicFilterOperationFactory.class; } }
public static class Condition extends Fork { @JsonSchemaDescription("Filter operation to evaluate events against.") @JsonProperty(required = true) private FilterOperationConfig condition; public FilterOperationConfig getCondition() { return this.condition; } public void setCondition(FilterOperationConfig condition) { this.condition = condition; } }
@JsonTypeName("LowerCaseKeyOperation") @JsonSchemaDescription("Provided a JSON object it will recursively lower case all fields.") public class LowerCaseKeyOperationConfig extends OperationConfig { @Override public Class<LowerCaseKeyOperationFactory> getFactoryClass() { return LowerCaseKeyOperationFactory.class; } }
@JsonTypeName("S3Wrapper") @JsonSchemaDescription("Adds information about function name, function version, processing " + "time (in ms), processing delay (in ms), processing timestsamp (ms since epoch), sha1 " + "hash of the original event, and s3 key, bucket, and key version from the source S3" + "file read. Only works with the S3Handler and SNSS3Handler.") public class S3WrapperConfig extends WrapperConfig { @Override public Class<S3WrapperFactory> getFactoryClass() { return S3WrapperFactory.class; } }
@JsonTypeName("Gelf") @JsonSchemaDescription("Writes logs into a Graylog TCP GELF Input") public class GelfTransportConfig extends TcpTransportConfig { @Override public Class<?> getFactoryClass() { return GelfTransportFactory.class; } }
@JsonTypeName("PassthroughWrapper") @JsonSchemaDescription("A meta wrapper that performs no wrapping and passes the payload through.") public class PassthroughWrapperConfig extends WrapperConfig { @Override public Class<PassthroughWrapperFactory> getFactoryClass() { return PassthroughWrapperFactory.class; } }
@JsonTypeName("PassthroughWrapper") @JsonSchemaDescription("A meta wrapper that performs no wrapping and passes the payload through.") public class PassthroughWrapperConfig extends WrapperConfig { @Override public Class<PassthroughWrapperFactory> getFactoryClass() { return PassthroughWrapperFactory.class; } }
@JsonSchemaDescription("The name of this line in the list") @JsonProperty(PROP_NAME) public String getName() { return _name; }