Package com.vmware.nsx_policy.model
Class LBHttpRequestBodyCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpRequestBodyCondition.Builder
-
- Enclosing class:
- LBHttpRequestBodyCondition
public static final class LBHttpRequestBodyCondition.Builder extends java.lang.Object
Builder class forLBHttpRequestBodyCondition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpRequestBodyCondition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBHttpRequestBodyCondition
build()
LBHttpRequestBodyCondition.Builder
setBodyValue(java.lang.String bodyValue)
HTTP request bodyLBHttpRequestBodyCondition.Builder
setCaseSensitive(java.lang.Boolean caseSensitive)
If true, case is significant when comparing HTTP body value.LBHttpRequestBodyCondition.Builder
setInverse(java.lang.Boolean inverse)
A flag to indicate whether reverse the match result of this conditionLBHttpRequestBodyCondition.Builder
setMatchType(java.lang.String matchType)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpRequestBodyCondition
.
-
-
Method Detail
-
setBodyValue
public LBHttpRequestBodyCondition.Builder setBodyValue(java.lang.String bodyValue)
HTTP request body- Parameters:
bodyValue
- New value for the property.
-
setCaseSensitive
public LBHttpRequestBodyCondition.Builder setCaseSensitive(java.lang.Boolean caseSensitive)
If true, case is significant when comparing HTTP body value.- Parameters:
caseSensitive
- New value for the property.
-
setMatchType
public LBHttpRequestBodyCondition.Builder setMatchType(java.lang.String matchType)
Possible values are: Match type of HTTP body- Parameters:
matchType
- New value for the property.
-
setInverse
public LBHttpRequestBodyCondition.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 LBHttpRequestBodyCondition build()
-
-