Interface DisEndpointConfigImpl.Builder
- Enclosing interface:
- DisEndpointConfigImpl
public static interface DisEndpointConfigImpl.Builder
Builder for DisEndpointConfigImpl.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableDisEndpointConfigImpl.putAllProperties(@NotNull Map<String, ? extends String> entries) Put all mappings from the specified map as entries topropertiesmap.putProperty(@NotNull String key, @NotNull String value) Put one entry to thepropertiesmap.default DisEndpointConfigImpl.BuildersetServiceRegistryType(@NotNull 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
DisEndpointConfigImpl.Builder putAllProperties(@NotNull @NotNull Map<String, ? extends String> entries) 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
DisEndpointConfigImpl.Builder putProperty(@NotNull @NotNull String key, @NotNull @NotNull String value) 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
-