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