Interface MonthlySetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonthlySetting.Builder,,MonthlySetting> SdkBuilder<MonthlySetting.Builder,,MonthlySetting> SdkPojo
- Enclosing class:
MonthlySetting
@Mutable
@NotThreadSafe
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.BuilderhandOffTime(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaHandOffTime.builder().When the
Consumercompletes,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:
-