Package com.vmware.nsx_policy.model
Class RouteMapEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RouteMapEntry.Builder
-
- Enclosing class:
- RouteMapEntry
public static final class RouteMapEntry.Builder extends java.lang.ObjectBuilder class forRouteMapEntry.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofRouteMapEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteMapEntrybuild()RouteMapEntry.BuildersetAction(java.lang.String action)Possible values are:RouteMapEntry.ACTION_PERMITRouteMapEntry.ACTION_DENYAction for the route map entryRouteMapEntry.BuildersetCommunityListMatches(java.util.List<CommunityMatchCriteria> communityListMatches)Community list match criteria for route map.RouteMapEntry.BuildersetPrefixListMatches(java.util.List<java.lang.String> prefixListMatches)Prefix list match criteria for route map.RouteMapEntry.BuildersetSet(RouteMapEntrySet set)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRouteMapEntry.
-
-
Method Detail
-
setAction
public RouteMapEntry.Builder setAction(java.lang.String action)
Possible values are: Action for the route map entry- Parameters:
action- New value for the property.
-
setCommunityListMatches
public RouteMapEntry.Builder setCommunityListMatches(java.util.List<CommunityMatchCriteria> communityListMatches)
Community list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry.- Parameters:
communityListMatches- New value for the property.
-
setPrefixListMatches
public RouteMapEntry.Builder setPrefixListMatches(java.util.List<java.lang.String> prefixListMatches)
Prefix list match criteria for route map. Properties community_list_matches and prefix_list_matches are mutually exclusive and cannot be used in the same route map entry.- Parameters:
prefixListMatches- New value for the property.
-
setSet
public RouteMapEntry.Builder setSet(RouteMapEntrySet set)
- Parameters:
set- New value for the property.
-
build
public RouteMapEntry build()
-
-