Package com.vmware.nsx_policy.model
Class LBIpHeaderCondition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBIpHeaderCondition.Builder
-
- Enclosing class:
- LBIpHeaderCondition
public static final class LBIpHeaderCondition.Builder extends java.lang.ObjectBuilder class forLBIpHeaderCondition.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofLBIpHeaderCondition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBIpHeaderConditionbuild()LBIpHeaderCondition.BuildersetGroupPath(java.lang.String groupPath)Source IP address of HTTP message should match IP addresses which are configured in Group in order to perform actions.LBIpHeaderCondition.BuildersetInverse(java.lang.Boolean inverse)A flag to indicate whether reverse the match result of this conditionLBIpHeaderCondition.BuildersetSourceAddress(java.lang.String sourceAddress)Source IP address of HTTP message.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBIpHeaderCondition.
-
-
Method Detail
-
setGroupPath
public LBIpHeaderCondition.Builder setGroupPath(java.lang.String groupPath)
Source IP address of HTTP message should match IP addresses which are configured in Group in order to perform actions.- Parameters:
groupPath- New value for the property.
-
setSourceAddress
public LBIpHeaderCondition.Builder setSourceAddress(java.lang.String sourceAddress)
Source IP address of HTTP message. IP Address can be expressed as a single IP address like 10.1.1.1, or a range of IP addresses like 10.1.1.101-10.1.1.160. Both IPv4 and IPv6 addresses are supported. format: address-or-block-or-range- Parameters:
sourceAddress- New value for the property.
-
setInverse
public LBIpHeaderCondition.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 LBIpHeaderCondition build()
-
-