Class DistributionMetaData.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class DistributionMetaData.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for DistributionMetaData instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
syncId
public Instant
syncRequested
-
Method Summary
Modifier and Type Method Description String
getSyncId()
Gets the value of the 'syncId' field. DistributionMetaData.Builder
setSyncId(String value)
Sets the value of the 'syncId' field. Instant
getSyncRequested()
Gets the value of the 'syncRequested' field. DistributionMetaData.Builder
setSyncRequested(Instant value)
Sets the value of the 'syncRequested' field. boolean
hasSyncId()
Checks whether the 'syncId' field has been set. DistributionMetaData.Builder
clearSyncId()
Clears the value of the 'syncId' field. boolean
hasSyncRequested()
Checks whether the 'syncRequested' field has been set. DistributionMetaData.Builder
clearSyncRequested()
Clears the value of the 'syncRequested' field. DistributionMetaData
build()
-
-
Method Detail
-
getSyncId
String getSyncId()
Gets the value of the 'syncId' field. ID of the sync process, in case of standard distribution type, the syncId will be generated by the MGM.
-
setSyncId
DistributionMetaData.Builder setSyncId(String value)
Sets the value of the 'syncId' field. ID of the sync process, in case of standard distribution type, the syncId will be generated by the MGM.
- Parameters:
value
- The value of 'syncId'.
-
getSyncRequested
Instant getSyncRequested()
Gets the value of the 'syncRequested' field. Time ([Instant]) in milliseconds when the sync was requested.
-
setSyncRequested
DistributionMetaData.Builder setSyncRequested(Instant value)
Sets the value of the 'syncRequested' field. Time ([Instant]) in milliseconds when the sync was requested.
- Parameters:
value
- The value of 'syncRequested'.
-
hasSyncId
boolean hasSyncId()
Checks whether the 'syncId' field has been set. ID of the sync process, in case of standard distribution type, the syncId will be generated by the MGM.
-
clearSyncId
DistributionMetaData.Builder clearSyncId()
Clears the value of the 'syncId' field. ID of the sync process, in case of standard distribution type, the syncId will be generated by the MGM.
-
hasSyncRequested
boolean hasSyncRequested()
Checks whether the 'syncRequested' field has been set. Time ([Instant]) in milliseconds when the sync was requested.
-
clearSyncRequested
DistributionMetaData.Builder clearSyncRequested()
Clears the value of the 'syncRequested' field. Time ([Instant]) in milliseconds when the sync was requested.
-
build
DistributionMetaData build()
-
-
-
-