Package com.vmware.nsx_policy.model
Class LBHttpResponseHeaderCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpResponseHeaderCondition.Builder
-
- Enclosing class:
- LBHttpResponseHeaderCondition
public static final class LBHttpResponseHeaderCondition.Builder extends java.lang.Object
Builder class forLBHttpResponseHeaderCondition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpResponseHeaderCondition
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpResponseHeaderCondition
.
-
-
Method Detail
-
setCaseSensitive
public LBHttpResponseHeaderCondition.Builder setCaseSensitive(java.lang.Boolean caseSensitive)
If true, case is significant when comparing HTTP header value.- Parameters:
caseSensitive
- New value for the property.
-
setHeaderName
public LBHttpResponseHeaderCondition.Builder setHeaderName(java.lang.String headerName)
Name of HTTP header field- Parameters:
headerName
- New value for the property.
-
setHeaderValue
public LBHttpResponseHeaderCondition.Builder setHeaderValue(java.lang.String headerValue)
Value of HTTP header field- Parameters:
headerValue
- New value for the property.
-
setMatchType
public LBHttpResponseHeaderCondition.Builder setMatchType(java.lang.String matchType)
Possible values are: Match type of HTTP header value- Parameters:
matchType
- New value for the property.
-
setInverse
public LBHttpResponseHeaderCondition.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 LBHttpResponseHeaderCondition build()
-
-