Class ServicePathHop.Builder

  • Enclosing class:
    ServicePathHop

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

      • Builder

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

      • setCanDecrementSi

        public ServicePathHop.Builder setCanDecrementSi​(java.lang.Boolean canDecrementSi)
        Indicating whether service is configured to decrement SI field in NSH metadata. 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:
        canDecrementSi - New value for the property.
      • setInMaintenanceMode

        public ServicePathHop.Builder setInMaintenanceMode​(java.lang.Boolean inMaintenanceMode)
        Indicating the maintenance mode of the corresponding service VM. 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:
        inMaintenanceMode - New value for the property.
      • setIsActiveFromCcp

        public ServicePathHop.Builder setIsActiveFromCcp​(java.lang.Boolean isActiveFromCcp)
        Indicating whether the corresponding service VM is active or not per CCP. 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:
        isActiveFromCcp - New value for the property.
      • setIsActiveFromDp

        public ServicePathHop.Builder setIsActiveFromDp​(java.lang.Boolean isActiveFromDp)
        Indicating whether the corresponding service VM is active or not per DP. 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:
        isActiveFromDp - New value for the property.
      • setIsActiveFromMp

        public ServicePathHop.Builder setIsActiveFromMp​(java.lang.Boolean isActiveFromMp)
        Indicating whether the corresponding service VM is active or not per MP. 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:
        isActiveFromMp - New value for the property.
      • setMacAddress

        public ServicePathHop.Builder setMacAddress​(java.lang.String macAddress)
        MAC address of the virtual network interface. 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:
        macAddress - New value for the property.
      • setNshLivenessSupport

        public ServicePathHop.Builder setNshLivenessSupport​(java.lang.Boolean nshLivenessSupport)
        Indicating whether NSH liveness is supported or not by the corresponding service VM. 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:
        nshLivenessSupport - New value for the property.
      • setVif

        public ServicePathHop.Builder setVif​(java.lang.String vif)
        ID of the virtual network interface. 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:
        vif - New value for the property.