Package com.vmware.nsx_policy.model
Class LBHttpRequestMethodCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpRequestMethodCondition.Builder
-
- Enclosing class:
- LBHttpRequestMethodCondition
public static final class LBHttpRequestMethodCondition.Builder extends java.lang.Object
Builder class forLBHttpRequestMethodCondition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpRequestMethodCondition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBHttpRequestMethodCondition
build()
LBHttpRequestMethodCondition.Builder
setInverse(java.lang.Boolean inverse)
A flag to indicate whether reverse the match result of this conditionLBHttpRequestMethodCondition.Builder
setMethod(java.lang.String method)
Possible values are:LBHttpRequestMethodCondition.METHOD_GET
LBHttpRequestMethodCondition.METHOD_OPTIONS
LBHttpRequestMethodCondition.METHOD_POST
LBHttpRequestMethodCondition.METHOD_HEAD
LBHttpRequestMethodCondition.METHOD_PUT
Type of HTTP request method
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpRequestMethodCondition
.
-
-
Method Detail
-
setMethod
public LBHttpRequestMethodCondition.Builder setMethod(java.lang.String method)
Possible values are: Type of HTTP request method- Parameters:
method
- New value for the property.
-
setInverse
public LBHttpRequestMethodCondition.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 LBHttpRequestMethodCondition build()
-
-