Class VirtualNodeOperationStatus.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class VirtualNodeOperationStatus.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for VirtualNodeOperationStatus instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestId
public String
requestData
public Instant
requestTimestamp
public Instant
latestUpdateTimestamp
public Instant
heartbeatTimestamp
public String
state
public String
errors
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Gets the value of the 'requestId' field. VirtualNodeOperationStatus.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. String
getRequestData()
Gets the value of the 'requestData' field. VirtualNodeOperationStatus.Builder
setRequestData(String value)
Sets the value of the 'requestData' field. Instant
getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. VirtualNodeOperationStatus.Builder
setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Instant
getLatestUpdateTimestamp()
Gets the value of the 'latestUpdateTimestamp' field. VirtualNodeOperationStatus.Builder
setLatestUpdateTimestamp(Instant value)
Sets the value of the 'latestUpdateTimestamp' field. Instant
getHeartbeatTimestamp()
Gets the value of the 'heartbeatTimestamp' field. VirtualNodeOperationStatus.Builder
setHeartbeatTimestamp(Instant value)
Sets the value of the 'heartbeatTimestamp' field. String
getState()
Gets the value of the 'state' field. VirtualNodeOperationStatus.Builder
setState(String value)
Sets the value of the 'state' field. String
getErrors()
Gets the value of the 'errors' field. VirtualNodeOperationStatus.Builder
setErrors(String value)
Sets the value of the 'errors' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. VirtualNodeOperationStatus.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasRequestData()
Checks whether the 'requestData' field has been set. VirtualNodeOperationStatus.Builder
clearRequestData()
Clears the value of the 'requestData' field. boolean
hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. VirtualNodeOperationStatus.Builder
clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. boolean
hasLatestUpdateTimestamp()
Checks whether the 'latestUpdateTimestamp' field has been set. VirtualNodeOperationStatus.Builder
clearLatestUpdateTimestamp()
Clears the value of the 'latestUpdateTimestamp' field. boolean
hasHeartbeatTimestamp()
Checks whether the 'heartbeatTimestamp' field has been set. VirtualNodeOperationStatus.Builder
clearHeartbeatTimestamp()
Clears the value of the 'heartbeatTimestamp' field. boolean
hasState()
Checks whether the 'state' field has been set. VirtualNodeOperationStatus.Builder
clearState()
Clears the value of the 'state' field. boolean
hasErrors()
Checks whether the 'errors' field has been set. VirtualNodeOperationStatus.Builder
clearErrors()
Clears the value of the 'errors' field. VirtualNodeOperationStatus
build()
-
-
Method Detail
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. ID of this Virtual Node CPI upgrade request.
-
setRequestId
VirtualNodeOperationStatus.Builder setRequestId(String value)
Sets the value of the 'requestId' field. ID of this Virtual Node CPI upgrade request.
- Parameters:
value
- The value of 'requestId'.
-
getRequestData
String getRequestData()
Gets the value of the 'requestData' field. The operation specific request data.
-
setRequestData
VirtualNodeOperationStatus.Builder setRequestData(String value)
Sets the value of the 'requestData' field. The operation specific request data.
- Parameters:
value
- The value of 'requestData'.
-
getRequestTimestamp
Instant getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
-
setRequestTimestamp
VirtualNodeOperationStatus.Builder setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
- Parameters:
value
- The value of 'requestTimestamp'.
-
getLatestUpdateTimestamp
Instant getLatestUpdateTimestamp()
Gets the value of the 'latestUpdateTimestamp' field. Time ([Instant]) in milliseconds of the latest update to the request.
-
setLatestUpdateTimestamp
VirtualNodeOperationStatus.Builder setLatestUpdateTimestamp(Instant value)
Sets the value of the 'latestUpdateTimestamp' field. Time ([Instant]) in milliseconds of the latest update to the request.
- Parameters:
value
- The value of 'latestUpdateTimestamp'.
-
getHeartbeatTimestamp
Instant getHeartbeatTimestamp()
Gets the value of the 'heartbeatTimestamp' field. Time ([Instant]) in milliseconds of the latest heartbeat.
-
setHeartbeatTimestamp
VirtualNodeOperationStatus.Builder setHeartbeatTimestamp(Instant value)
Sets the value of the 'heartbeatTimestamp' field. Time ([Instant]) in milliseconds of the latest heartbeat.
- Parameters:
value
- The value of 'heartbeatTimestamp'.
-
setState
VirtualNodeOperationStatus.Builder setState(String value)
Sets the value of the 'state' field.
- Parameters:
value
- The value of 'state'.
-
getErrors
String getErrors()
Gets the value of the 'errors' field. Errors recorded in the upgrade process
-
setErrors
VirtualNodeOperationStatus.Builder setErrors(String value)
Sets the value of the 'errors' field. Errors recorded in the upgrade process
- Parameters:
value
- The value of 'errors'.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. ID of this Virtual Node CPI upgrade request.
-
clearRequestId
VirtualNodeOperationStatus.Builder clearRequestId()
Clears the value of the 'requestId' field. ID of this Virtual Node CPI upgrade request.
-
hasRequestData
boolean hasRequestData()
Checks whether the 'requestData' field has been set. The operation specific request data.
-
clearRequestData
VirtualNodeOperationStatus.Builder clearRequestData()
Clears the value of the 'requestData' field. The operation specific request data.
-
hasRequestTimestamp
boolean hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. Time ([Instant]) in milliseconds of the request.
-
clearRequestTimestamp
VirtualNodeOperationStatus.Builder clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request.
-
hasLatestUpdateTimestamp
boolean hasLatestUpdateTimestamp()
Checks whether the 'latestUpdateTimestamp' field has been set. Time ([Instant]) in milliseconds of the latest update to the request.
-
clearLatestUpdateTimestamp
VirtualNodeOperationStatus.Builder clearLatestUpdateTimestamp()
Clears the value of the 'latestUpdateTimestamp' field. Time ([Instant]) in milliseconds of the latest update to the request.
-
hasHeartbeatTimestamp
boolean hasHeartbeatTimestamp()
Checks whether the 'heartbeatTimestamp' field has been set. Time ([Instant]) in milliseconds of the latest heartbeat.
-
clearHeartbeatTimestamp
VirtualNodeOperationStatus.Builder clearHeartbeatTimestamp()
Clears the value of the 'heartbeatTimestamp' field. Time ([Instant]) in milliseconds of the latest heartbeat.
-
hasState
boolean hasState()
Checks whether the 'state' field has been set.
-
clearState
VirtualNodeOperationStatus.Builder clearState()
Clears the value of the 'state' field.
-
hasErrors
boolean hasErrors()
Checks whether the 'errors' field has been set. Errors recorded in the upgrade process
-
clearErrors
VirtualNodeOperationStatus.Builder clearErrors()
Clears the value of the 'errors' field. Errors recorded in the upgrade process
-
build
VirtualNodeOperationStatus build()
-
-
-
-