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.Object
Builder 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 DirectoryEventLogServerStatus
build()
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.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.DirectoryEventLogServerStatus.Builder
setLastEventTimeCreated(java.lang.Long lastEventTimeCreated)
Time of last successfully received and record event from event log server.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.DirectoryEventLogServerStatus.Builder
setStatus(java.lang.String status)
Possible values are:DirectoryEventLogServerStatus.STATUS_OK
DirectoryEventLogServerStatus.STATUS_ERROR
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.
-
-
-
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()
-
-