Package com.vmware.nsx_policy.model
Class DirectoryEventLogServerStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DirectoryEventLogServerStatus.Builder
-
- Enclosing class:
- DirectoryEventLogServerStatus
public static final class DirectoryEventLogServerStatus.Builder extends java.lang.ObjectBuilder class forDirectoryEventLogServerStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDirectoryEventLogServerStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryEventLogServerStatusbuild()DirectoryEventLogServerStatus.BuildersetErrorMessage(java.lang.String errorMessage)Additional optional detail error message This property may be present in responses from the server, but if it is present in a request to server it will be ignored.DirectoryEventLogServerStatus.BuildersetLastEventRecordId(java.lang.Long lastEventRecordId)Last event record ID is an opaque integer value that shows the last successfully received event from event log server.DirectoryEventLogServerStatus.BuildersetLastEventTimeCreated(java.lang.Long lastEventTimeCreated)Time of last successfully received and record event from event log server.DirectoryEventLogServerStatus.BuildersetLastPollingTime(java.lang.Long lastPollingTime)Last polling 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.DirectoryEventLogServerStatus.BuildersetStatus(java.lang.String status)Possible values are:DirectoryEventLogServerStatus.STATUS_OKDirectoryEventLogServerStatus.STATUS_ERRORConnection status: OK: All OK ERROR: Generic error This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDirectoryEventLogServerStatus.
-
-
Method Detail
-
setErrorMessage
public DirectoryEventLogServerStatus.Builder setErrorMessage(java.lang.String errorMessage)
Additional optional detail error message 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:
errorMessage- New value for the property.
-
setLastEventRecordId
public DirectoryEventLogServerStatus.Builder setLastEventRecordId(java.lang.Long lastEventRecordId)
Last event record ID is an opaque integer value that shows the last successfully received event from event log server. 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:
lastEventRecordId- New value for the property.
-
setLastEventTimeCreated
public DirectoryEventLogServerStatus.Builder setLastEventTimeCreated(java.lang.Long lastEventTimeCreated)
Time of last successfully received and record event from event log server. 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:
lastEventTimeCreated- New value for the property.
-
setLastPollingTime
public DirectoryEventLogServerStatus.Builder setLastPollingTime(java.lang.Long lastPollingTime)
Last polling 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:
lastPollingTime- New value for the property.
-
setStatus
public DirectoryEventLogServerStatus.Builder setStatus(java.lang.String status)
Possible values are: Connection status: OK: All OK ERROR: Generic error 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:
status- New value for the property.
-
build
public DirectoryEventLogServerStatus build()
-
-