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