Package com.vmware.nsx_policy.model
Class ServiceCapability.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ServiceCapability.Builder
-
- Enclosing class:
- ServiceCapability
public static final class ServiceCapability.Builder extends java.lang.Object
Builder class forServiceCapability
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofServiceCapability
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofServiceCapability
.
-
-
Method Detail
-
setCanDecrementSi
public ServiceCapability.Builder setCanDecrementSi(java.lang.Boolean canDecrementSi)
Indicating whether service is configured to decrement SI field in NSH metadata. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
canDecrementSi
- New value for the property.
-
setNshLivenessSupportEnabled
public ServiceCapability.Builder setNshLivenessSupportEnabled(java.lang.Boolean nshLivenessSupportEnabled)
Indicating whether service supports NSH liveness detection.- Parameters:
nshLivenessSupportEnabled
- New value for the property.
-
build
public ServiceCapability build()
-
-