Package com.yahoo.jdisc.http
Class ConnectorConfig.AccessLog.Builder
java.lang.Object
com.yahoo.jdisc.http.ConnectorConfig.AccessLog.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ConnectorConfig.AccessLog
public static final class ConnectorConfig.AccessLog.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()content(ConnectorConfig.AccessLog.Content.Builder __builder) Add the given builder to this builder's list of Content buildersMake a new builder and run the supplied function on it before adding it to the listcontent(List<ConnectorConfig.AccessLog.Content.Builder> __builders) Set the given list as this builder's list of Content buildersremoteAddressHeaders(String __value) remoteAddressHeaders(Collection<String> __values) remotePortHeaders(String __value) remotePortHeaders(Collection<String> __values)
-
Field Details
-
remoteAddressHeaders
-
remotePortHeaders
-
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
remoteAddressHeaders
-
remoteAddressHeaders
-
remotePortHeaders
-
remotePortHeaders
-
content
public ConnectorConfig.AccessLog.Builder content(ConnectorConfig.AccessLog.Content.Builder __builder) Add the given builder to this builder's list of Content builders- Parameters:
__builder- a builder- Returns:
- this builder
-
content
public ConnectorConfig.AccessLog.Builder content(Consumer<ConnectorConfig.AccessLog.Content.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
content
public ConnectorConfig.AccessLog.Builder content(List<ConnectorConfig.AccessLog.Content.Builder> __builders) Set the given list as this builder's list of Content builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-