Class NicMetadata.Builder

  • Enclosing class:
    NicMetadata

    public static final class NicMetadata.Builder
    extends java.lang.Object
    Builder class for NicMetadata.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of NicMetadata.
    • Method Detail

      • setInterfaceIndex

        public NicMetadata.Builder setInterfaceIndex​(java.lang.Long interfaceIndex)
        Network Interface index. format: int64
        Parameters:
        interfaceIndex - New value for the property.
      • setInterfaceLabel

        public NicMetadata.Builder setInterfaceLabel​(java.lang.String interfaceLabel)
        Network Interface label.
        Parameters:
        interfaceLabel - New value for the property.
      • setTransports

        public NicMetadata.Builder setTransports​(java.util.List<java.lang.String> transports)
        Possible values are: Transport Type of the service, which is the mechanism of redirecting the traffic to the the partner appliance. Transport type is required if Service caters to any functionality other than EPP and MPS. Here, the transports array specifies the kinds of transport where this particular NIC is user configurable. If nothing is specified, and the \"user_configurable\" flag is true, then user configuration will be allowed for all transports. If any transport is/are specified, then it will be considered as user configurable for the specified transports only.\"
        Parameters:
        transports - New value for the property.
      • setUserConfigurable

        public NicMetadata.Builder setUserConfigurable​(java.lang.Boolean userConfigurable)
        Used to specify if the given interface needs configuration. Management nics will always need the configuration, for others it will be use case specific. For example, a DATA NIC may be user configurable if the appliance is deployed in certain mode, such as L3_ROUTED.
        Parameters:
        userConfigurable - New value for the property.