Package com.vmware.nsx_policy.model
Class MulticastRoutesPerEdge.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MulticastRoutesPerEdge.Builder
-
- Enclosing class:
- MulticastRoutesPerEdge
public static final class MulticastRoutesPerEdge.Builder extends java.lang.ObjectBuilder class forMulticastRoutesPerEdge.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofMulticastRoutesPerEdge.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticastRoutesPerEdgebuild()MulticastRoutesPerEdge.BuildersetCursor(java.lang.String cursor)Opaque cursor to be used for getting next page of records (supplied by current result page) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MulticastRoutesPerEdge.BuildersetEdgePath(java.lang.String edgePath)Policy path to edge node.MulticastRoutesPerEdge.BuildersetLinks(java.util.List<ResourceLink> links)The server will populate this field when returing the resource.MulticastRoutesPerEdge.BuildersetMcastRoutes(java.util.List<MulticastRoute> mcastRoutes)MulticastRoutesPerEdge.BuildersetResultCount(java.lang.Long resultCount)Count of results found (across all pages), set only on first page format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MulticastRoutesPerEdge.BuildersetSchema(java.lang.String schema)Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MulticastRoutesPerEdge.BuildersetSelf(SelfResourceLink self)MulticastRoutesPerEdge.BuildersetSortAscending(java.lang.Boolean sortAscending)If true, results are sorted in ascending order This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MulticastRoutesPerEdge.BuildersetSortBy(java.lang.String sortBy)Field by which records are sorted This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMulticastRoutesPerEdge.
-
-
Method Detail
-
setLinks
public MulticastRoutesPerEdge.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
links- New value for the property.
-
setSchema
public MulticastRoutesPerEdge.Builder setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
schema- New value for the property.
-
setSelf
public MulticastRoutesPerEdge.Builder setSelf(SelfResourceLink self)
- Parameters:
self- New value for the property.
-
setCursor
public MulticastRoutesPerEdge.Builder setCursor(java.lang.String cursor)
Opaque cursor to be used for getting next page of records (supplied by current result page) This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
cursor- New value for the property.
-
setResultCount
public MulticastRoutesPerEdge.Builder setResultCount(java.lang.Long resultCount)
Count of results found (across all pages), set only on first page format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
resultCount- New value for the property.
-
setSortAscending
public MulticastRoutesPerEdge.Builder setSortAscending(java.lang.Boolean sortAscending)
If true, results are sorted in ascending order This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
sortAscending- New value for the property.
-
setSortBy
public MulticastRoutesPerEdge.Builder setSortBy(java.lang.String sortBy)
Field by which records are sorted This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
sortBy- New value for the property.
-
setEdgePath
public MulticastRoutesPerEdge.Builder setEdgePath(java.lang.String edgePath)
Policy path to edge node.- Parameters:
edgePath- New value for the property.
-
setMcastRoutes
public MulticastRoutesPerEdge.Builder setMcastRoutes(java.util.List<MulticastRoute> mcastRoutes)
- Parameters:
mcastRoutes- New value for the property.
-
build
public MulticastRoutesPerEdge build()
-
-