TimeIntervalItemBuilder
Constructor
func NewTimeIntervalItemBuilder() *TimeIntervalItemBuilder
Methods
Build
Builds the object.
func (builder *TimeIntervalItemBuilder) Build() (TimeIntervalItem, error)
DaysOfMonth
func (builder *TimeIntervalItemBuilder) DaysOfMonth(daysOfMonth []string) *TimeIntervalItemBuilder
Location
func (builder *TimeIntervalItemBuilder) Location(location string) *TimeIntervalItemBuilder
Months
func (builder *TimeIntervalItemBuilder) Months(months []string) *TimeIntervalItemBuilder
Times
func (builder *TimeIntervalItemBuilder) Times(times []cog.Builder[alerting.TimeIntervalTimeRange]) *TimeIntervalItemBuilder
Weekdays
func (builder *TimeIntervalItemBuilder) Weekdays(weekdays []string) *TimeIntervalItemBuilder
Years
func (builder *TimeIntervalItemBuilder) Years(years []string) *TimeIntervalItemBuilder
See also