Class SyslogSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.syslog.SyslogSupplierProperties
@ConfigurationProperties("syslog.supplier")
@Validated
public class SyslogSupplierProperties
extends Object
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getPort()
@NotNull String
getRfc()
int
boolean
isNio()
boolean
@jakarta.validation.constraints.AssertTrue(message="rfc must be 5424 or 3164") boolean
void
setBufferSize
(int bufferSize) void
setNio
(boolean nio) void
setPort
(int port) void
setProtocol
(SyslogSupplierProperties.Protocol protocol) void
setReverseLookup
(boolean reverseLookup) void
void
setSocketTimeout
(int socketTimeout)
-
Constructor Details
-
SyslogSupplierProperties
public SyslogSupplierProperties()
-
-
Method Details
-
getBufferSize
public int getBufferSize() -
setBufferSize
public void setBufferSize(int bufferSize) -
getProtocol
-
setProtocol
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
isNio
public boolean isNio() -
setNio
public void setNio(boolean nio) -
isReverseLookup
public boolean isReverseLookup() -
setReverseLookup
public void setReverseLookup(boolean reverseLookup) -
getSocketTimeout
public int getSocketTimeout() -
setSocketTimeout
public void setSocketTimeout(int socketTimeout) -
getRfc
-
setRfc
-
isSupportedRfc
@AssertTrue(message="rfc must be 5424 or 3164") public @jakarta.validation.constraints.AssertTrue(message="rfc must be 5424 or 3164") boolean isSupportedRfc()
-