public final class ALBClientLogStreamingConfig
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
ALBClientLogStreamingConfig.Builder
Builder class for
ALBClientLogStreamingConfig. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
LOG_TYPES_TO_SEND_ALL |
static java.lang.String |
LOG_TYPES_TO_SEND_SIGNIFICANT_ONLY |
static java.lang.String |
LOG_TYPES_TO_SEND_UDF_ONLY |
static java.lang.String |
LOG_TYPES_TO_SEND_UDF_SIGNIFICANT |
static java.lang.String |
PROTOCOL_RAW_OVER_UDP |
static java.lang.String |
PROTOCOL_SYSLOG_OVER_TCP |
static java.lang.String |
PROTOCOL_SYSLOG_OVER_TLS |
static java.lang.String |
PROTOCOL_SYSLOG_OVER_UDP |
static java.lang.String |
PROTOCOL_TCP |
static java.lang.String |
PROTOCOL_TLS |
static java.lang.String |
PROTOCOL_UDP |
| Modifier | Constructor and Description |
|---|---|
|
ALBClientLogStreamingConfig()
Default constructor.
|
protected |
ALBClientLogStreamingConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static ALBClientLogStreamingConfig |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static ALBClientLogStreamingConfig |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExternalServer()
IP address or hostnames (FQDNs) of destination servers.
|
java.lang.Long |
getExternalServerPort()
The service port to use for the external servers.
|
ALBClientLogStreamingFormat |
getFormatConfig() |
java.lang.String |
getLogTypesToSend()
Possible values are:
LOG_TYPES_TO_SEND_SIGNIFICANT_ONLY
LOG_TYPES_TO_SEND_UDF_ONLY
LOG_TYPES_TO_SEND_UDF_SIGNIFICANT
LOG_TYPES_TO_SEND_ALL
Type of logs to stream to the external server. |
java.lang.Long |
getMaxLogsPerSecond()
Maximum number of logs per second streamed to the remote server.
|
java.lang.String |
getProtocol()
Possible values are:
PROTOCOL_UDP
PROTOCOL_SYSLOG_OVER_UDP
PROTOCOL_TCP
PROTOCOL_SYSLOG_OVER_TCP
PROTOCOL_RAW_OVER_UDP
PROTOCOL_TLS
PROTOCOL_SYSLOG_OVER_TLS
Protocol to use for streaming logs. |
ALBStreamingSyslogConfig |
getSyslogConfig() |
int |
hashCode() |
void |
setExternalServer(java.lang.String externalServer)
IP address or hostnames (FQDNs) of destination servers.
|
void |
setExternalServerPort(java.lang.Long externalServerPort)
The service port to use for the external servers.
|
void |
setFormatConfig(ALBClientLogStreamingFormat formatConfig) |
void |
setLogTypesToSend(java.lang.String logTypesToSend)
Possible values are:
LOG_TYPES_TO_SEND_SIGNIFICANT_ONLY
LOG_TYPES_TO_SEND_UDF_ONLY
LOG_TYPES_TO_SEND_UDF_SIGNIFICANT
LOG_TYPES_TO_SEND_ALL
Type of logs to stream to the external server. |
void |
setMaxLogsPerSecond(java.lang.Long maxLogsPerSecond)
Maximum number of logs per second streamed to the remote server.
|
void |
setProtocol(java.lang.String protocol)
Possible values are:
PROTOCOL_UDP
PROTOCOL_SYSLOG_OVER_UDP
PROTOCOL_TCP
PROTOCOL_SYSLOG_OVER_TCP
PROTOCOL_RAW_OVER_UDP
PROTOCOL_TLS
PROTOCOL_SYSLOG_OVER_TLS
Protocol to use for streaming logs. |
void |
setSyslogConfig(ALBStreamingSyslogConfig syslogConfig) |
java.lang.String |
toString() |
public static final java.lang.String LOG_TYPES_TO_SEND_SIGNIFICANT_ONLY
public static final java.lang.String LOG_TYPES_TO_SEND_UDF_ONLY
public static final java.lang.String LOG_TYPES_TO_SEND_UDF_SIGNIFICANT
public static final java.lang.String LOG_TYPES_TO_SEND_ALL
public static final java.lang.String PROTOCOL_UDP
public static final java.lang.String PROTOCOL_SYSLOG_OVER_UDP
public static final java.lang.String PROTOCOL_TCP
public static final java.lang.String PROTOCOL_SYSLOG_OVER_TCP
public static final java.lang.String PROTOCOL_RAW_OVER_UDP
public static final java.lang.String PROTOCOL_TLS
public static final java.lang.String PROTOCOL_SYSLOG_OVER_TLS
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ALBClientLogStreamingConfig()
protected ALBClientLogStreamingConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getExternalServer()
public void setExternalServer(java.lang.String externalServer)
externalServer - New value for the property.public java.lang.Long getExternalServerPort()
public void setExternalServerPort(java.lang.Long externalServerPort)
externalServerPort - New value for the property.public ALBClientLogStreamingFormat getFormatConfig()
public void setFormatConfig(ALBClientLogStreamingFormat formatConfig)
formatConfig - New value for the property.public java.lang.String getLogTypesToSend()
public void setLogTypesToSend(java.lang.String logTypesToSend)
logTypesToSend - New value for the property.public java.lang.Long getMaxLogsPerSecond()
public void setMaxLogsPerSecond(java.lang.Long maxLogsPerSecond)
maxLogsPerSecond - New value for the property.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - New value for the property.public ALBStreamingSyslogConfig getSyslogConfig()
public void setSyslogConfig(ALBStreamingSyslogConfig syslogConfig)
syslogConfig - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static ALBClientLogStreamingConfig _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue - the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructTypepublic static ALBClientLogStreamingConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)