Interface MonthlySetting.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonthlySetting.Builder,
,MonthlySetting> SdkBuilder<MonthlySetting.Builder,
,MonthlySetting> SdkPojo
- Enclosing class:
MonthlySetting
public static interface MonthlySetting.Builder
extends SdkPojo, CopyableBuilder<MonthlySetting.Builder,MonthlySetting>
-
Method Summary
Modifier and TypeMethodDescriptiondayOfMonth
(Integer dayOfMonth) The day of the month when monthly recurring on-call rotations begin.default MonthlySetting.Builder
handOffTime
(Consumer<HandOffTime.Builder> handOffTime) The time of day when a monthly recurring on-call shift rotation begins.handOffTime
(HandOffTime handOffTime) The time of day when a monthly recurring on-call shift rotation begins.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 Details
-
dayOfMonth
The day of the month when monthly recurring on-call rotations begin.
- Parameters:
dayOfMonth
- The day of the month when monthly recurring on-call rotations begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handOffTime
The time of day when a monthly recurring on-call shift rotation begins.
- Parameters:
handOffTime
- The time of day when a monthly recurring on-call shift rotation begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handOffTime
The time of day when a monthly recurring on-call shift rotation begins.
This is a convenience method that creates an instance of theHandOffTime.Builder
avoiding the need to create one manually viaHandOffTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohandOffTime(HandOffTime)
.- Parameters:
handOffTime
- a consumer that will call methods onHandOffTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-