Class SniConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.core.configuration.SniConfigurationBuilder
-
- All Implemented Interfaces:
Builder<SniConfiguration>
public class SniConfigurationBuilder extends Object implements Builder<SniConfiguration>
- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SniConfiguration
create()
Create the configuration beanSniConfigurationBuilder
host(String name)
SniConfigurationBuilder
read(SniConfiguration template)
Reads the configuration from an already created configuration bean into this builder.SniConfigurationBuilder
realm(String name)
SniConfigurationBuilder
sslContext(SSLContext sslContext)
void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
realm
public SniConfigurationBuilder realm(String name)
-
host
public SniConfigurationBuilder host(String name)
-
sslContext
public SniConfigurationBuilder sslContext(SSLContext sslContext)
-
validate
public void validate()
Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<SniConfiguration>
-
create
public SniConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<SniConfiguration>
- Returns:
-
read
public SniConfigurationBuilder read(SniConfiguration template)
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<SniConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-