Package no.finn.unleash
Class UnleashContext.Builder
- java.lang.Object
-
- no.finn.unleash.UnleashContext.Builder
-
- Enclosing class:
- UnleashContext
public static class UnleashContext.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(UnleashContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnleashContext.BuilderaddProperty(String name, String value)UnleashContext.BuilderappName(String appName)UnleashContextbuild()UnleashContext.Builderenvironment(String environment)UnleashContext.BuilderremoteAddress(String remoteAddress)UnleashContext.BuildersessionId(String sessionId)UnleashContext.BuilderuserId(String userId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(UnleashContext context)
-
-
Method Detail
-
appName
public UnleashContext.Builder appName(String appName)
-
environment
public UnleashContext.Builder environment(String environment)
-
userId
public UnleashContext.Builder userId(String userId)
-
sessionId
public UnleashContext.Builder sessionId(String sessionId)
-
remoteAddress
public UnleashContext.Builder remoteAddress(String remoteAddress)
-
addProperty
public UnleashContext.Builder addProperty(String name, String value)
-
build
public UnleashContext build()
-
-