Package com.vmware.nsx_policy.model
Class DirectoryDomainSyncSettings.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DirectoryDomainSyncSettings.Builder
-
- Enclosing class:
- DirectoryDomainSyncSettings
public static final class DirectoryDomainSyncSettings.Builder extends java.lang.Object
Builder class forDirectoryDomainSyncSettings
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDirectoryDomainSyncSettings
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryDomainSyncSettings
build()
DirectoryDomainSyncSettings.Builder
setDeltaSyncInterval(java.lang.Long deltaSyncInterval)
Directory domain delta synchronization interval time between two delta sync in minutes.DirectoryDomainSyncSettings.Builder
setFullSyncCronExpr(java.lang.String fullSyncCronExpr)
Directory domain full synchronization schedule using cron expression.DirectoryDomainSyncSettings.Builder
setSyncDelayInSec(java.lang.Long syncDelayInSec)
Sync delay after Directory domain has been successfully created.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDirectoryDomainSyncSettings
.
-
-
Method Detail
-
setDeltaSyncInterval
public DirectoryDomainSyncSettings.Builder setDeltaSyncInterval(java.lang.Long deltaSyncInterval)
Directory domain delta synchronization interval time between two delta sync in minutes. format: int64- Parameters:
deltaSyncInterval
- New value for the property.
-
setFullSyncCronExpr
public DirectoryDomainSyncSettings.Builder setFullSyncCronExpr(java.lang.String fullSyncCronExpr)
Directory domain full synchronization schedule using cron expression. For example, cron expression \"0 0 12 ? * SUN *\" means full sync is scheduled every Sunday midnight. If this object is null, it means there is no background cron job running for full sync.- Parameters:
fullSyncCronExpr
- New value for the property.
-
setSyncDelayInSec
public DirectoryDomainSyncSettings.Builder setSyncDelayInSec(java.lang.Long syncDelayInSec)
Sync delay after Directory domain has been successfully created. if delay is -1, initial full sync will not be triggered. format: int32- Parameters:
syncDelayInSec
- New value for the property.
-
build
public DirectoryDomainSyncSettings build()
-
-