Interface ScheduledInstanceRecurrence.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledInstanceRecurrence.Builder,ScheduledInstanceRecurrence>
,SdkBuilder<ScheduledInstanceRecurrence.Builder,ScheduledInstanceRecurrence>
,SdkPojo
- Enclosing class:
- ScheduledInstanceRecurrence
public static interface ScheduledInstanceRecurrence.Builder extends SdkPojo, CopyableBuilder<ScheduledInstanceRecurrence.Builder,ScheduledInstanceRecurrence>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledInstanceRecurrence.Builder
frequency(String frequency)
The frequency (Daily
,Weekly
, orMonthly
).ScheduledInstanceRecurrence.Builder
interval(Integer interval)
The interval quantity.ScheduledInstanceRecurrence.Builder
occurrenceDaySet(Integer... occurrenceDaySet)
The days.ScheduledInstanceRecurrence.Builder
occurrenceDaySet(Collection<Integer> occurrenceDaySet)
The days.ScheduledInstanceRecurrence.Builder
occurrenceRelativeToEnd(Boolean occurrenceRelativeToEnd)
Indicates whether the occurrence is relative to the end of the specified week or month.ScheduledInstanceRecurrence.Builder
occurrenceUnit(String occurrenceUnit)
The unit foroccurrenceDaySet
(DayOfWeek
orDayOfMonth
).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
frequency
ScheduledInstanceRecurrence.Builder frequency(String frequency)
The frequency (
Daily
,Weekly
, orMonthly
).- Parameters:
frequency
- The frequency (Daily
,Weekly
, orMonthly
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
ScheduledInstanceRecurrence.Builder interval(Integer interval)
The interval quantity. The interval unit depends on the value of
frequency
. For example, every 2 weeks or every 2 months.- Parameters:
interval
- The interval quantity. The interval unit depends on the value offrequency
. For example, every 2 weeks or every 2 months.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrenceDaySet
ScheduledInstanceRecurrence.Builder occurrenceDaySet(Collection<Integer> occurrenceDaySet)
The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
- Parameters:
occurrenceDaySet
- The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrenceDaySet
ScheduledInstanceRecurrence.Builder occurrenceDaySet(Integer... occurrenceDaySet)
The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
- Parameters:
occurrenceDaySet
- The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrenceRelativeToEnd
ScheduledInstanceRecurrence.Builder occurrenceRelativeToEnd(Boolean occurrenceRelativeToEnd)
Indicates whether the occurrence is relative to the end of the specified week or month.
- Parameters:
occurrenceRelativeToEnd
- Indicates whether the occurrence is relative to the end of the specified week or month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrenceUnit
ScheduledInstanceRecurrence.Builder occurrenceUnit(String occurrenceUnit)
The unit for
occurrenceDaySet
(DayOfWeek
orDayOfMonth
).- Parameters:
occurrenceUnit
- The unit foroccurrenceDaySet
(DayOfWeek
orDayOfMonth
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-