Package com.vmware.nsx_policy.model
Class DirectoryDomainSyncStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DirectoryDomainSyncStats.Builder
-
- Enclosing class:
- DirectoryDomainSyncStats
public static final class DirectoryDomainSyncStats.Builder extends java.lang.Object
Builder class forDirectoryDomainSyncStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDirectoryDomainSyncStats
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDirectoryDomainSyncStats
.
-
-
Method Detail
-
setAvgDeltaSyncTime
public DirectoryDomainSyncStats.Builder setAvgDeltaSyncTime(java.lang.Long avgDeltaSyncTime)
All the historical delta sync are counted in calculating the average delta sync time in milliseconds. 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:
avgDeltaSyncTime
- New value for the property.
-
setAvgFullSyncTime
public DirectoryDomainSyncStats.Builder setAvgFullSyncTime(java.lang.Long avgFullSyncTime)
All the historical full sync are counted in calculating the average full sync time in milliseconds. 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:
avgFullSyncTime
- New value for the property.
-
setCurrentState
public DirectoryDomainSyncStats.Builder setCurrentState(java.lang.String currentState)
Possible values are: Current running state of the directory domain in synchronization life cycle. It could be one of the following five states. SELECTIVE_FULL_SYNC and SELECTIVE_DELTA_SYNC are sync states for selective sync. 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:
currentState
- New value for the property.
-
setCurrentStateBeginTime
public DirectoryDomainSyncStats.Builder setCurrentStateBeginTime(java.lang.Long currentStateBeginTime)
Since what time the current state has begun. The time is expressed in millisecond epoch 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:
currentStateBeginTime
- New value for the property.
-
setNumDeltaSync
public DirectoryDomainSyncStats.Builder setNumDeltaSync(java.lang.Long numDeltaSync)
number of successful historical delta sync initiated either by system or by API request. 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:
numDeltaSync
- New value for the property.
-
setNumFullSync
public DirectoryDomainSyncStats.Builder setNumFullSync(java.lang.Long numFullSync)
number of successful historical full sync initiated either by system or by API request. 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:
numFullSync
- New value for the property.
-
setPrevSyncEndTime
public DirectoryDomainSyncStats.Builder setPrevSyncEndTime(java.lang.Long prevSyncEndTime)
Directory domain previous sync ending time expressed in millisecond epoch 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:
prevSyncEndTime
- New value for the property.
-
setPrevSyncError
public DirectoryDomainSyncStats.Builder setPrevSyncError(java.lang.String prevSyncError)
Directory domain previous sync status error if last status was failure. 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:
prevSyncError
- New value for the property.
-
setPrevSyncStatus
public DirectoryDomainSyncStats.Builder setPrevSyncStatus(java.lang.String prevSyncStatus)
Possible values are: Directory domain previous sync status. It could be one of the following two states. 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:
prevSyncStatus
- New value for the property.
-
setPrevSyncType
public DirectoryDomainSyncStats.Builder setPrevSyncType(java.lang.String prevSyncType)
Possible values are: Directory domain previous sync type. It could be one of the following five states. Right after the directory domain is configured, this field is set to IDLE. 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:
prevSyncType
- New value for the property.
-
build
public DirectoryDomainSyncStats build()
-
-