public static final class ServiceCapability.Builder
extends java.lang.Object
ServiceCapability
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ServiceCapability . |
Modifier and Type | Method and Description |
---|---|
ServiceCapability |
build() |
ServiceCapability.Builder |
setCanDecrementSi(java.lang.Boolean canDecrementSi)
Indicating whether service is configured to decrement SI field in NSH metadata.
|
ServiceCapability.Builder |
setNshLivenessSupportEnabled(java.lang.Boolean nshLivenessSupportEnabled)
Indicating whether service supports NSH liveness detection.
|
public Builder()
ServiceCapability
.public ServiceCapability.Builder setCanDecrementSi(java.lang.Boolean canDecrementSi)
canDecrementSi
- New value for the property.public ServiceCapability.Builder setNshLivenessSupportEnabled(java.lang.Boolean nshLivenessSupportEnabled)
nshLivenessSupportEnabled
- New value for the property.public ServiceCapability build()