Package com.vmware.nsx_policy.model
Class CidrArrayConstraintValue.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CidrArrayConstraintValue.Builder
-
- Enclosing class:
- CidrArrayConstraintValue
public static final class CidrArrayConstraintValue.Builder extends java.lang.Object
Builder class forCidrArrayConstraintValue
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofCidrArrayConstraintValue
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CidrArrayConstraintValue
build()
CidrArrayConstraintValue.Builder
setValues(java.util.List<java.lang.String> values)
This array can consist of a single IP address, IP address range or a subnet.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCidrArrayConstraintValue
.
-
-
Method Detail
-
setValues
public CidrArrayConstraintValue.Builder setValues(java.util.List<java.lang.String> values)
This array can consist of a single IP address, IP address range or a subnet. Its type can be of either IPv4 or IPv6. Both IPv4 and IPv6 addresses within one expression is not allowed. Supported list of formats are, \"192.168.1.1\", \"192.168.1.1-192.168.1.100\", \"192.168.0.0/24\", \"fe80::250:56ff:fe83:318c\", \"fe80::250:56ff:fe83:3181-fe80::250:56ff:fe83:318c\", \"fe80::250:56ff:fe83:318c/64\". format: address-or-block-or-range- Parameters:
values
- New value for the property.
-
build
public CidrArrayConstraintValue build()
-
-