Package com.vmware.nsx_policy.model
Class NeighborProperties.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NeighborProperties.Builder
-
- Enclosing class:
- NeighborProperties
public static final class NeighborProperties.Builder extends java.lang.Object
Builder class forNeighborProperties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNeighborProperties
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NeighborProperties
build()
NeighborProperties.Builder
setCapabilities(java.lang.String capabilities)
Capabilities This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setEnabledCapabilities(java.lang.String enabledCapabilities)
Enabled capabilities This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setIfindex(java.lang.Long ifindex)
Interface index 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.NeighborProperties.Builder
setLinkAggregationCapable(java.lang.Boolean linkAggregationCapable)
Aggregation Capability This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setLinkAggregationPortId(java.lang.String linkAggregationPortId)
Aggregation port id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setLinkAggregationStatus(java.lang.Boolean linkAggregationStatus)
True if currently in aggregation This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setMac(java.lang.String mac)
Interface MAC address This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setMgmtAddr(java.lang.String mgmtAddr)
Management address This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setName(java.lang.String name)
Interface name This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setOid(java.lang.String oid)
Object identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setPortDesc(java.lang.String portDesc)
Port description This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setSystemDesc(java.lang.String systemDesc)
System description This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setSystemName(java.lang.String systemName)
System name This property may be present in responses from the server, but if it is present in a request to server it will be ignored.NeighborProperties.Builder
setSystemPortNumber(java.lang.Long systemPortNumber)
System port number 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNeighborProperties
.
-
-
Method Detail
-
setCapabilities
public NeighborProperties.Builder setCapabilities(java.lang.String capabilities)
Capabilities 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:
capabilities
- New value for the property.
-
setEnabledCapabilities
public NeighborProperties.Builder setEnabledCapabilities(java.lang.String enabledCapabilities)
Enabled capabilities 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:
enabledCapabilities
- New value for the property.
-
setIfindex
public NeighborProperties.Builder setIfindex(java.lang.Long ifindex)
Interface index 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:
ifindex
- New value for the property.
-
setLinkAggregationCapable
public NeighborProperties.Builder setLinkAggregationCapable(java.lang.Boolean linkAggregationCapable)
Aggregation Capability 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:
linkAggregationCapable
- New value for the property.
-
setLinkAggregationPortId
public NeighborProperties.Builder setLinkAggregationPortId(java.lang.String linkAggregationPortId)
Aggregation port id 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:
linkAggregationPortId
- New value for the property.
-
setLinkAggregationStatus
public NeighborProperties.Builder setLinkAggregationStatus(java.lang.Boolean linkAggregationStatus)
True if currently in aggregation 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:
linkAggregationStatus
- New value for the property.
-
setMac
public NeighborProperties.Builder setMac(java.lang.String mac)
Interface MAC address 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:
mac
- New value for the property.
-
setMgmtAddr
public NeighborProperties.Builder setMgmtAddr(java.lang.String mgmtAddr)
Management address 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:
mgmtAddr
- New value for the property.
-
setName
public NeighborProperties.Builder setName(java.lang.String name)
Interface name 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:
name
- New value for the property.
-
setOid
public NeighborProperties.Builder setOid(java.lang.String oid)
Object identifier 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:
oid
- New value for the property.
-
setPortDesc
public NeighborProperties.Builder setPortDesc(java.lang.String portDesc)
Port description 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:
portDesc
- New value for the property.
-
setSystemDesc
public NeighborProperties.Builder setSystemDesc(java.lang.String systemDesc)
System description 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:
systemDesc
- New value for the property.
-
setSystemName
public NeighborProperties.Builder setSystemName(java.lang.String systemName)
System name 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:
systemName
- New value for the property.
-
setSystemPortNumber
public NeighborProperties.Builder setSystemPortNumber(java.lang.Long systemPortNumber)
System port number 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:
systemPortNumber
- New value for the property.
-
build
public NeighborProperties build()
-
-