Interface WeeklySchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WeeklySchedule.Builder,WeeklySchedule>,SdkBuilder<WeeklySchedule.Builder,WeeklySchedule>,SdkPojo
- Enclosing class:
- WeeklySchedule
public static interface WeeklySchedule.Builder extends SdkPojo, CopyableBuilder<WeeklySchedule.Builder,WeeklySchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WeeklySchedule.Builderdays(Collection<Day> days)The weekly schedule's days.WeeklySchedule.Builderdays(Day... days)The weekly schedule's days.WeeklySchedule.BuilderdaysWithStrings(String... days)The weekly schedule's days.WeeklySchedule.BuilderdaysWithStrings(Collection<String> days)The weekly schedule's days.default WeeklySchedule.BuilderstartTime(Consumer<Time.Builder> startTime)The weekly schedule's start time.WeeklySchedule.BuilderstartTime(Time startTime)The weekly schedule's start time.-
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
-
daysWithStrings
WeeklySchedule.Builder daysWithStrings(Collection<String> days)
The weekly schedule's days.
- Parameters:
days- The weekly schedule's days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daysWithStrings
WeeklySchedule.Builder daysWithStrings(String... days)
The weekly schedule's days.
- Parameters:
days- The weekly schedule's days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
days
WeeklySchedule.Builder days(Collection<Day> days)
The weekly schedule's days.
- Parameters:
days- The weekly schedule's days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
days
WeeklySchedule.Builder days(Day... days)
The weekly schedule's days.
- Parameters:
days- The weekly schedule's days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
WeeklySchedule.Builder startTime(Time startTime)
The weekly schedule's start time.
- Parameters:
startTime- The weekly schedule's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
default WeeklySchedule.Builder startTime(Consumer<Time.Builder> startTime)
The weekly schedule's start time.
This is a convenience method that creates an instance of theTime.Builderavoiding the need to create one manually viaTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTime(Time).- Parameters:
startTime- a consumer that will call methods onTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
startTime(Time)
-
-