Interface ScheduledInstanceRecurrence.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledInstanceRecurrence.Builder,ScheduledInstanceRecurrence>,SdkBuilder<ScheduledInstanceRecurrence.Builder,ScheduledInstanceRecurrence>,SdkPojo
- Enclosing class:
- ScheduledInstanceRecurrence
@Mutable @NotThreadSafe 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.Builderfrequency(String frequency)The frequency (Daily,Weekly, orMonthly).ScheduledInstanceRecurrence.Builderinterval(Integer interval)The interval quantity.ScheduledInstanceRecurrence.BuilderoccurrenceDaySet(Integer... occurrenceDaySet)The days.ScheduledInstanceRecurrence.BuilderoccurrenceDaySet(Collection<Integer> occurrenceDaySet)The days.ScheduledInstanceRecurrence.BuilderoccurrenceRelativeToEnd(Boolean occurrenceRelativeToEnd)Indicates whether the occurrence is relative to the end of the specified week or month.ScheduledInstanceRecurrence.BuilderoccurrenceUnit(String occurrenceUnit)The unit foroccurrenceDaySet(DayOfWeekorDayOfMonth).-
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, sdkFieldNameToField, 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(DayOfWeekorDayOfMonth).- Parameters:
occurrenceUnit- The unit foroccurrenceDaySet(DayOfWeekorDayOfMonth).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-