Package com.vmware.nsx_policy.model
Class PrefixEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PrefixEntry.Builder
-
- Enclosing class:
- PrefixEntry
public static final class PrefixEntry.Builder extends java.lang.ObjectBuilder class forPrefixEntry.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPrefixEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefixEntrybuild()PrefixEntry.BuildersetAction(java.lang.String action)Possible values are:PrefixEntry.ACTION_PERMITPrefixEntry.ACTION_DENYAction for the prefix list.PrefixEntry.BuildersetGe(java.lang.Long ge)Prefix length greater than or equal to.PrefixEntry.BuildersetLe(java.lang.Long le)Prefix length less than or equal to.PrefixEntry.BuildersetNetwork(java.lang.String network)Network prefix in CIDR format.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPrefixEntry.
-
-
Method Detail
-
setAction
public PrefixEntry.Builder setAction(java.lang.String action)
Possible values are: Action for the prefix list.- Parameters:
action- New value for the property.
-
setGe
public PrefixEntry.Builder setGe(java.lang.Long ge)
Prefix length greater than or equal to. format: int32- Parameters:
ge- New value for the property.
-
setLe
public PrefixEntry.Builder setLe(java.lang.Long le)
Prefix length less than or equal to. format: int32- Parameters:
le- New value for the property.
-
setNetwork
public PrefixEntry.Builder setNetwork(java.lang.String network)
Network prefix in CIDR format. \"ANY\" matches all networks.- Parameters:
network- New value for the property.
-
build
public PrefixEntry build()
-
-