Package com.vmware.nsx_policy.model
Class LBHttpRequestCookieCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpRequestCookieCondition.Builder
-
- Enclosing class:
- LBHttpRequestCookieCondition
public static final class LBHttpRequestCookieCondition.Builder extends java.lang.Object
Builder class forLBHttpRequestCookieCondition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpRequestCookieCondition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBHttpRequestCookieCondition
build()
LBHttpRequestCookieCondition.Builder
setCaseSensitive(java.lang.Boolean caseSensitive)
If true, case is significant when comparing cookie value.LBHttpRequestCookieCondition.Builder
setCookieName(java.lang.String cookieName)
Cookie name.LBHttpRequestCookieCondition.Builder
setCookieValue(java.lang.String cookieValue)
Cookie value.LBHttpRequestCookieCondition.Builder
setInverse(java.lang.Boolean inverse)
A flag to indicate whether reverse the match result of this conditionLBHttpRequestCookieCondition.Builder
setMatchType(java.lang.String matchType)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpRequestCookieCondition
.
-
-
Method Detail
-
setCaseSensitive
public LBHttpRequestCookieCondition.Builder setCaseSensitive(java.lang.Boolean caseSensitive)
If true, case is significant when comparing cookie value.- Parameters:
caseSensitive
- New value for the property.
-
setCookieName
public LBHttpRequestCookieCondition.Builder setCookieName(java.lang.String cookieName)
Cookie name.- Parameters:
cookieName
- New value for the property.
-
setCookieValue
public LBHttpRequestCookieCondition.Builder setCookieValue(java.lang.String cookieValue)
Cookie value.- Parameters:
cookieValue
- New value for the property.
-
setMatchType
public LBHttpRequestCookieCondition.Builder setMatchType(java.lang.String matchType)
Possible values are: Match type of cookie value.- Parameters:
matchType
- New value for the property.
-
setInverse
public LBHttpRequestCookieCondition.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 LBHttpRequestCookieCondition build()
-
-