Class SocketAddress.Builder
java.lang.Object
org.apache.logging.log4j.core.net.SocketAddress.Builder
- All Implemented Interfaces:
Builder<SocketAddress>
- Enclosing class:
SocketAddress
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.setHost(InetAddress host) setPort(int port)
-
Field Details
-
host
-
port
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setHost
-
setPort
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<SocketAddress>- Returns:
- the configured instance.
-