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:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<SocketAddress>
- Returns:
- the configured instance.
-