Package net.corda.data.scheduler
Class ScheduledTaskTrigger.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ScheduledTaskTrigger.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ScheduledTaskTrigger instances.
-
-
Method Summary
Modifier and Type Method Description String
getName()
Gets the value of the 'name' field. ScheduledTaskTrigger.Builder
setName(String value)
Sets the value of the 'name' field. Instant
getTimestamp()
Gets the value of the 'timestamp' field. ScheduledTaskTrigger.Builder
setTimestamp(Instant value)
Sets the value of the 'timestamp' field. boolean
hasName()
Checks whether the 'name' field has been set. ScheduledTaskTrigger.Builder
clearName()
Clears the value of the 'name' field. boolean
hasTimestamp()
Checks whether the 'timestamp' field has been set. ScheduledTaskTrigger.Builder
clearTimestamp()
Clears the value of the 'timestamp' field. ScheduledTaskTrigger
build()
-
-
Method Detail
-
setName
ScheduledTaskTrigger.Builder setName(String value)
Sets the value of the 'name' field. Name of the scheduled task.
- Parameters:
value
- The value of 'name'.
-
getTimestamp
Instant getTimestamp()
Gets the value of the 'timestamp' field. Timestamp for the trigger.
-
setTimestamp
ScheduledTaskTrigger.Builder setTimestamp(Instant value)
Sets the value of the 'timestamp' field. Timestamp for the trigger.
- Parameters:
value
- The value of 'timestamp'.
-
hasName
boolean hasName()
Checks whether the 'name' field has been set. Name of the scheduled task.
-
clearName
ScheduledTaskTrigger.Builder clearName()
Clears the value of the 'name' field. Name of the scheduled task.
-
hasTimestamp
boolean hasTimestamp()
Checks whether the 'timestamp' field has been set. Timestamp for the trigger.
-
clearTimestamp
ScheduledTaskTrigger.Builder clearTimestamp()
Clears the value of the 'timestamp' field. Timestamp for the trigger.
-
build
ScheduledTaskTrigger build()
-
-
-
-