Package com.exoscale.sdk.model
Class DbaasEndpointRsyslog
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasEndpointRsyslog
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasEndpointRsyslog extends Object
DbaasEndpointRsyslog
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_FORMAT
static String
JSON_PROPERTY_LOGLINE
static String
JSON_PROPERTY_MAX_MESSAGE_SIZE
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_SD
static String
JSON_PROPERTY_SERVER
static String
JSON_PROPERTY_TLS
-
Constructor Summary
Constructors Constructor Description DbaasEndpointRsyslog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this dbaas-endpoint-rsyslog object is equal to o.DbaasEndpointRsyslog
format(EnumRsyslogFormat format)
EnumRsyslogFormat
getFormat()
Get formatString
getLogline()
Custom syslog message formatLong
getMaxMessageSize()
Rsyslog max message size minimum: 2048 maximum: 2147483647Long
getPort()
Rsyslog server port minimum: 1 maximum: 65535String
getSd()
Structured data block for log messageString
getServer()
Rsyslog server IP address or hostnameBoolean
getTls()
Require TLSint
hashCode()
DbaasEndpointRsyslog
logline(String logline)
DbaasEndpointRsyslog
maxMessageSize(Long maxMessageSize)
DbaasEndpointRsyslog
port(Long port)
DbaasEndpointRsyslog
sd(String sd)
DbaasEndpointRsyslog
server(String server)
void
setFormat(EnumRsyslogFormat format)
void
setLogline(String logline)
void
setMaxMessageSize(Long maxMessageSize)
void
setPort(Long port)
void
setSd(String sd)
void
setServer(String server)
void
setTls(Boolean tls)
DbaasEndpointRsyslog
tls(Boolean tls)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_SERVER
public static final String JSON_PROPERTY_SERVER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TLS
public static final String JSON_PROPERTY_TLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORMAT
public static final String JSON_PROPERTY_FORMAT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGLINE
public static final String JSON_PROPERTY_LOGLINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SD
public static final String JSON_PROPERTY_SD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_MESSAGE_SIZE
public static final String JSON_PROPERTY_MAX_MESSAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
server
public DbaasEndpointRsyslog server(String server)
-
getServer
@Nonnull public String getServer()
Rsyslog server IP address or hostname- Returns:
- server
-
setServer
public void setServer(String server)
-
port
public DbaasEndpointRsyslog port(Long port)
-
getPort
@Nonnull public Long getPort()
Rsyslog server port minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
tls
public DbaasEndpointRsyslog tls(Boolean tls)
-
getTls
@Nonnull public Boolean getTls()
Require TLS- Returns:
- tls
-
setTls
public void setTls(Boolean tls)
-
format
public DbaasEndpointRsyslog format(EnumRsyslogFormat format)
-
getFormat
@Nonnull public EnumRsyslogFormat getFormat()
Get format- Returns:
- format
-
setFormat
public void setFormat(EnumRsyslogFormat format)
-
logline
public DbaasEndpointRsyslog logline(String logline)
-
getLogline
@Nullable public String getLogline()
Custom syslog message format- Returns:
- logline
-
setLogline
public void setLogline(String logline)
-
sd
public DbaasEndpointRsyslog sd(String sd)
-
getSd
@Nullable public String getSd()
Structured data block for log message- Returns:
- sd
-
setSd
public void setSd(String sd)
-
maxMessageSize
public DbaasEndpointRsyslog maxMessageSize(Long maxMessageSize)
-
getMaxMessageSize
@Nullable public Long getMaxMessageSize()
Rsyslog max message size minimum: 2048 maximum: 2147483647- Returns:
- maxMessageSize
-
setMaxMessageSize
public void setMaxMessageSize(Long maxMessageSize)
-
equals
public boolean equals(Object o)
Return true if this dbaas-endpoint-rsyslog object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-