Interface EffectiveOverrideHours.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EffectiveOverrideHours.Builder,,EffectiveOverrideHours> SdkBuilder<EffectiveOverrideHours.Builder,,EffectiveOverrideHours> SdkPojo
- Enclosing class:
EffectiveOverrideHours
@Mutable
@NotThreadSafe
public static interface EffectiveOverrideHours.Builder
extends SdkPojo, CopyableBuilder<EffectiveOverrideHours.Builder,EffectiveOverrideHours>
-
Method Summary
Modifier and TypeMethodDescriptionThe date that the hours of operation override applies to.overrideHours(Collection<OverrideHour> overrideHours) Information about the hours of operation overrides that apply to a specific date.overrideHours(Consumer<OverrideHour.Builder>... overrideHours) Information about the hours of operation overrides that apply to a specific date.overrideHours(OverrideHour... overrideHours) Information about the hours of operation overrides that apply to a specific date.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
-
date
The date that the hours of operation override applies to.
- Parameters:
date- The date that the hours of operation override applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideHours
Information about the hours of operation overrides that apply to a specific date.
- Parameters:
overrideHours- Information about the hours of operation overrides that apply to a specific date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideHours
Information about the hours of operation overrides that apply to a specific date.
- Parameters:
overrideHours- Information about the hours of operation overrides that apply to a specific date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideHours
Information about the hours of operation overrides that apply to a specific date.
This is a convenience method that creates an instance of theOverrideHour.Builderavoiding the need to create one manually viaOverrideHour.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverrideHours(List<OverrideHour>).- Parameters:
overrideHours- a consumer that will call methods onOverrideHour.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-