Interface DisEndpointConfigImpl.Builder
- Enclosing interface:
- DisEndpointConfigImpl
public static interface DisEndpointConfigImpl.Builder
Builder for DisEndpointConfigImpl.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableDisEndpointConfigImpl.putAllProperties(Map<String, ? extends String> entries) Put all mappings from the specified map as entries topropertiesmap.putProperty(String key, String value) Put one entry to thepropertiesmap.default DisEndpointConfigImpl.BuildersetServiceRegistryType(String serviceRegistryType) default DisEndpointConfigImpl.BuildersetTableDataPort(int b) default DisEndpointConfigImpl.BuildersetTableDataPortDisabled(boolean b) default DisEndpointConfigImpl.BuildersetTailerPort(int b) default DisEndpointConfigImpl.BuildersetTailerPortDisabled(boolean b) setThrottleKBps(int throttleKBps)
-
Method Details
-
setName
-
setServiceRegistryType
-
putAllProperties
Put all mappings from the specified map as entries topropertiesmap. Nulls are not permitted- Parameters:
entries- The entries that will be added to the properties map- Returns:
thisbuilder for use in a chained invocation
-
putProperty
Put one entry to thepropertiesmap.- Parameters:
key- The key in the properties mapvalue- The associated value in the properties map- Returns:
thisbuilder for use in a chained invocation
-
setThrottleKBps
-
setTableDataPortDisabled
-
setTailerPortDisabled
-
setTableDataPort
-
setTailerPort
-
setHost
-
build
DisEndpointConfigImpl build()Builds a newImmutableDisEndpointConfigImpl.- Returns:
- An immutable instance of DisEndpointConfigImpl
- Throws:
IllegalStateException- if any required attributes are missing
-