Interface EffectiveHoursOfOperations.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EffectiveHoursOfOperations.Builder,EffectiveHoursOfOperations>,SdkBuilder<EffectiveHoursOfOperations.Builder,EffectiveHoursOfOperations>,SdkPojo
- Enclosing class:
- EffectiveHoursOfOperations
public static interface EffectiveHoursOfOperations.Builder extends SdkPojo, CopyableBuilder<EffectiveHoursOfOperations.Builder,EffectiveHoursOfOperations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EffectiveHoursOfOperations.Builderdate(String date)The date that the hours of operation or overrides applies to.EffectiveHoursOfOperations.BuilderoperationalHours(Collection<OperationalHour> operationalHours)Information about the hours of operations with the effective override applied.EffectiveHoursOfOperations.BuilderoperationalHours(Consumer<OperationalHour.Builder>... operationalHours)Information about the hours of operations with the effective override applied.EffectiveHoursOfOperations.BuilderoperationalHours(OperationalHour... operationalHours)Information about the hours of operations with the effective override applied.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
date
EffectiveHoursOfOperations.Builder date(String 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
EffectiveHoursOfOperations.Builder operationalHours(Collection<OperationalHour> 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(OperationalHour... 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 to#operationalHours(List.) - 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:
#operationalHours(java.util.Collection)
-
-