Class ConsolidatedRealizedStatus.Builder

    • Method Detail

      • setIntentPath

        public ConsolidatedRealizedStatus.Builder setIntentPath​(java.lang.String intentPath)
        Intent path of object, forward slashes must be escaped using %2F. 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:
        intentPath - New value for the property.
      • setConsolidatedStatusPerEnforcementPoint

        public ConsolidatedRealizedStatus.Builder setConsolidatedStatusPerEnforcementPoint​(java.util.List<ConsolidatedStatusPerEnforcementPoint> consolidatedStatusPerEnforcementPoint)
        List of Consolidated Realized Status per enforcement point. 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:
        consolidatedStatusPerEnforcementPoint - New value for the property.
      • setIntentVersion

        public ConsolidatedRealizedStatus.Builder setIntentVersion​(java.lang.String intentVersion)
        Represent highest intent version across all realized objects 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:
        intentVersion - New value for the property.
      • setPublishTime

        public ConsolidatedRealizedStatus.Builder setPublishTime​(java.lang.Long publishTime)
        This is the time when our system detects that data has been pushed to the transport nodes. This is based on a poll mechanism and hence this is not the accurate time when the intent was published at the data path. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the publish_time will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for publish_time 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:
        publishTime - New value for the property.
      • setSiteUuid

        public ConsolidatedRealizedStatus.Builder setSiteUuid​(java.lang.String siteUuid)
        Site UUID supplied for realized site.
        Parameters:
        siteUuid - New value for the property.
      • setTimeTakenForRealization

        public ConsolidatedRealizedStatus.Builder setTimeTakenForRealization​(java.lang.Long timeTakenForRealization)
        This is an approximate time taken for the realization of the intent to the data path. The actual time taken could be lesser than what is reported here. The value of -1 indicates that either the publishing is still in progress or the runtime status is UNKNOWN and hence not available. The Runtime status can be UNKNOWN if one or more hosts are down and the rules could not be sent to those hosts. When the host comes up, the runtime status will change to SUCCESS but the time taken for realization will show the value of the last realization time. Any new configuration change after this will start reflecting the proper value for time_taken_for_realization. format: int64
        Parameters:
        timeTakenForRealization - New value for the property.