Package com.vmware.nsx_policy.model
Class LBHttpRequestVersionCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpRequestVersionCondition.Builder
-
- Enclosing class:
- LBHttpRequestVersionCondition
public static final class LBHttpRequestVersionCondition.Builder extends java.lang.Object
Builder class forLBHttpRequestVersionCondition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpRequestVersionCondition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBHttpRequestVersionCondition
build()
LBHttpRequestVersionCondition.Builder
setInverse(java.lang.Boolean inverse)
A flag to indicate whether reverse the match result of this conditionLBHttpRequestVersionCondition.Builder
setVersion(java.lang.String version)
Possible values are:LBHttpRequestVersionCondition.VERSION_0
LBHttpRequestVersionCondition.VERSION_1
HTTP version
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpRequestVersionCondition
.
-
-
Method Detail
-
setVersion
public LBHttpRequestVersionCondition.Builder setVersion(java.lang.String version)
Possible values are: HTTP version- Parameters:
version
- New value for the property.
-
setInverse
public LBHttpRequestVersionCondition.Builder setInverse(java.lang.Boolean inverse)
A flag to indicate whether reverse the match result of this condition- Parameters:
inverse
- New value for the property.
-
build
public LBHttpRequestVersionCondition build()
-
-