Package com.vmware.nsx_policy.model
Class ConsolidatedRealizedStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ConsolidatedRealizedStatus.Builder
-
- Enclosing class:
- ConsolidatedRealizedStatus
public static final class ConsolidatedRealizedStatus.Builder extends java.lang.Object
Builder class forConsolidatedRealizedStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofConsolidatedRealizedStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsolidatedRealizedStatus
build()
ConsolidatedRealizedStatus.Builder
setConsolidatedStatus(ConsolidatedStatus consolidatedStatus)
ConsolidatedRealizedStatus.Builder
setConsolidatedStatusPerEnforcementPoint(java.util.List<ConsolidatedStatusPerEnforcementPoint> consolidatedStatusPerEnforcementPoint)
List of Consolidated Realized Status per enforcement point.ConsolidatedRealizedStatus.Builder
setIntentPath(java.lang.String intentPath)
Intent path of object, forward slashes must be escaped using %2F.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.ConsolidatedRealizedStatus.Builder
setPublishStatus(java.lang.String publishStatus)
Possible values are:ConsolidatedRealizedStatus.PUBLISH_STATUS_UNAVAILABLE
ConsolidatedRealizedStatus.PUBLISH_STATUS_UNREALIZED
ConsolidatedRealizedStatus.PUBLISH_STATUS_REALIZED
ConsolidatedRealizedStatus.PUBLISH_STATUS_ERROR
Aggregated Realization state of this objectConsolidatedRealizedStatus.Builder
setPublishTime(java.lang.Long publishTime)
This is the time when our system detects that data has been pushed to the transport nodes.ConsolidatedRealizedStatus.Builder
setSiteUuid(java.lang.String siteUuid)
Site UUID supplied for realized site.ConsolidatedRealizedStatus.Builder
setTimeTakenForRealization(java.lang.Long timeTakenForRealization)
This is an approximate time taken for the realization of the intent to the data path.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofConsolidatedRealizedStatus
.
-
-
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.
-
setConsolidatedStatus
public ConsolidatedRealizedStatus.Builder setConsolidatedStatus(ConsolidatedStatus consolidatedStatus)
- Parameters:
consolidatedStatus
- 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.
-
setPublishStatus
public ConsolidatedRealizedStatus.Builder setPublishStatus(java.lang.String publishStatus)
Possible values are: Aggregated Realization state of this object- Parameters:
publishStatus
- 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.
-
build
public ConsolidatedRealizedStatus build()
-
-