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 toproperties
map.putProperty
(String key, String value) Put one entry to theproperties
map.default DisEndpointConfigImpl.Builder
setServiceRegistryType
(String serviceRegistryType) default DisEndpointConfigImpl.Builder
setTableDataPort
(int b) default DisEndpointConfigImpl.Builder
setTableDataPortDisabled
(boolean b) default DisEndpointConfigImpl.Builder
setTailerPort
(int b) default DisEndpointConfigImpl.Builder
setTailerPortDisabled
(boolean b) setThrottleKBps
(int throttleKBps)
-
Method Details
-
setName
-
setServiceRegistryType
-
putAllProperties
Put all mappings from the specified map as entries toproperties
map. Nulls are not permitted- Parameters:
entries
- The entries that will be added to the properties map- Returns:
this
builder for use in a chained invocation
-
putProperty
Put one entry to theproperties
map.- Parameters:
key
- The key in the properties mapvalue
- The associated value in the properties map- Returns:
this
builder 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
-