public static final class HarborTypes.GarbageCollection.Builder
extends java.lang.Object
HarborTypes.GarbageCollection
.Constructor and Description |
---|
Builder(Recurrence type)
Constructor with parameters for the required properties of
HarborTypes.GarbageCollection . |
Modifier and Type | Method and Description |
---|---|
HarborTypes.GarbageCollection |
build() |
HarborTypes.GarbageCollection.Builder |
setDayOfWeek(DayOfWeek dayOfWeek)
Day of the week when garbage collection should run.
|
HarborTypes.GarbageCollection.Builder |
setHour(java.lang.Long hour)
Hour at which garbage collection should run.
|
HarborTypes.GarbageCollection.Builder |
setMinute(java.lang.Long minute)
Minute at which garbage collection should run.
|
public Builder(Recurrence type)
HarborTypes.GarbageCollection
.public HarborTypes.GarbageCollection.Builder setDayOfWeek(DayOfWeek dayOfWeek)
getType()
is Recurrence.WEEKLY
.dayOfWeek
- New value for the property.public HarborTypes.GarbageCollection.Builder setHour(java.lang.Long hour)
getType()
is one of Recurrence.DAILY
or Recurrence.WEEKLY
.hour
- New value for the property.public HarborTypes.GarbageCollection.Builder setMinute(java.lang.Long minute)
getType()
is one of Recurrence.DAILY
or Recurrence.WEEKLY
.minute
- New value for the property.public HarborTypes.GarbageCollection build()