Package uk.gov.gchq.gaffer.time
Class BoundedTimestampSet.Builder
- java.lang.Object
-
- uk.gov.gchq.gaffer.time.BoundedTimestampSet.Builder
-
- Enclosing class:
- BoundedTimestampSet
public static class BoundedTimestampSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundedTimestampSet
build()
BoundedTimestampSet.Builder
maxSize(int maxSize)
BoundedTimestampSet.Builder
state(BoundedTimestampSet.State state)
BoundedTimestampSet.Builder
timeBucket(CommonTimeUtil.TimeBucket timeBucket)
void
timestamps(Collection<Instant> timestamps)
-
-
-
Method Detail
-
timeBucket
public BoundedTimestampSet.Builder timeBucket(CommonTimeUtil.TimeBucket timeBucket)
-
maxSize
public BoundedTimestampSet.Builder maxSize(int maxSize)
-
timestamps
public void timestamps(Collection<Instant> timestamps)
-
state
public BoundedTimestampSet.Builder state(BoundedTimestampSet.State state)
-
build
public BoundedTimestampSet build()
-
-