Package com.ibm.fhir.schema.app
Class LeaseManagerConfig.Builder
- java.lang.Object
 - 
- com.ibm.fhir.schema.app.LeaseManagerConfig.Builder
 
 
- 
- Enclosing class:
 - LeaseManagerConfig
 
public static class LeaseManagerConfig.Builder extends Object
Builder for fluent construction of LeaseManagerConfig 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeaseManagerConfigbuild()Build the immutable LeaseManagerConfig object using the current state of thisLeaseManagerConfig.BuilderLeaseManagerConfig.BuilderwithHost(String host)Set the host propertyLeaseManagerConfig.BuilderwithLeaseTimeSeconds(int secs)Set the leaseTimeSeconds propertyLeaseManagerConfig.BuilderwithStayAlive(boolean flag)Set the stayAlive property 
 - 
 
- 
- 
Method Detail
- 
withLeaseTimeSeconds
public LeaseManagerConfig.Builder withLeaseTimeSeconds(int secs)
Set the leaseTimeSeconds property- Parameters:
 secs-- Returns:
 
 
- 
withHost
public LeaseManagerConfig.Builder withHost(String host)
Set the host property- Parameters:
 host-- Returns:
 
 
- 
withStayAlive
public LeaseManagerConfig.Builder withStayAlive(boolean flag)
Set the stayAlive property- Parameters:
 flag-- Returns:
 
 
- 
build
public LeaseManagerConfig build()
Build the immutable LeaseManagerConfig object using the current state of thisLeaseManagerConfig.Builder- Returns:
 
 
 - 
 
 -