public static final class NicMetadata.Builder
extends java.lang.Object
NicMetadata.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
NicMetadata. |
| Modifier and Type | Method and Description |
|---|---|
NicMetadata |
build() |
NicMetadata.Builder |
setInterfaceIndex(java.lang.Long interfaceIndex)
Network Interface index.
|
NicMetadata.Builder |
setInterfaceLabel(java.lang.String interfaceLabel)
Network Interface label.
|
NicMetadata.Builder |
setInterfaceType(java.lang.String interfaceType)
Possible values are:
NicMetadata.INTERFACE_TYPE_MANAGEMENT NicMetadata.INTERFACE_TYPE_DATA1 NicMetadata.INTERFACE_TYPE_DATA2 NicMetadata.INTERFACE_TYPE_HA1 NicMetadata.INTERFACE_TYPE_HA2 NicMetadata.INTERFACE_TYPE_CONTROL Interface
that needs to be configured on the partner appliance. |
NicMetadata.Builder |
setTransports(java.util.List<java.lang.String> transports)
Possible values are:
NicMetadata.TRANSPORTS_L2_BRIDGE NicMetadata.TRANSPORTS_L3_ROUTED NicMetadata.TRANSPORTS_NSH Transport Type of
the service, which is the mechanism of redirecting the traffic to the the
partner appliance. |
NicMetadata.Builder |
setUserConfigurable(java.lang.Boolean userConfigurable)
Used to specify if the given interface needs configuration.
|
public Builder()
NicMetadata.public NicMetadata.Builder setInterfaceIndex(java.lang.Long interfaceIndex)
interfaceIndex - New value for the property.public NicMetadata.Builder setInterfaceLabel(java.lang.String interfaceLabel)
interfaceLabel - New value for the property.public NicMetadata.Builder setInterfaceType(java.lang.String interfaceType)
interfaceType - New value for the property.public NicMetadata.Builder setTransports(java.util.List<java.lang.String> transports)
transports - New value for the property.public NicMetadata.Builder setUserConfigurable(java.lang.Boolean userConfigurable)
userConfigurable - New value for the property.public NicMetadata build()