Class PolicyCountObservation.Builder

    • Constructor Detail

      • Builder

        public Builder​(java.lang.String resourceType)
        Constructor with parameters for the required properties of PolicyCountObservation.
    • Method Detail

      • setLogicalPortPath

        public PolicyCountObservation.Builder setLogicalPortPath​(java.lang.String logicalPortPath)
        The path of segment port or router port where the counter observation is populated 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:
        logicalPortPath - New value for the property.
      • setPortId

        public PolicyCountObservation.Builder setPortId​(java.lang.String portId)
        The port identifier in UUID format. This field won't appear together with port_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:
        portId - New value for the property.
      • setPortName

        public PolicyCountObservation.Builder setPortName​(java.lang.String portName)
        The port name for a port. It applies to ports like the uplink port. This field won't appear together with 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:
        portName - New value for the property.
      • setTransportNodeId

        public PolicyCountObservation.Builder setTransportNodeId​(java.lang.String transportNodeId)
        This field tells which transport node the checkpoints are reported from. 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:
        transportNodeId - New value for the property.