Interface OverrideHour.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OverrideHour.Builder,,OverrideHour> SdkBuilder<OverrideHour.Builder,,OverrideHour> SdkPojo
- Enclosing class:
OverrideHour
@Mutable
@NotThreadSafe
public static interface OverrideHour.Builder
extends SdkPojo, CopyableBuilder<OverrideHour.Builder,OverrideHour>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OverrideHour.BuilderSets the value of the End property for this object.end(OverrideTimeSlice end) Sets the value of the End property for this object.operationalStatus(String operationalStatus) Indicates whether the status is open or closed during the override period.operationalStatus(OperationalStatus operationalStatus) Indicates whether the status is open or closed during the override period.overrideName(String overrideName) Unique identifier name for the override.default OverrideHour.Builderstart(Consumer<OverrideTimeSlice.Builder> start) Sets the value of the Start property for this object.start(OverrideTimeSlice start) Sets the value of the Start property for this object.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
-
start
Sets the value of the Start property for this object.- Parameters:
start- The new value for the Start property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
start
Sets the value of the Start property for this object. This is a convenience method that creates an instance of theOverrideTimeSlice.Builderavoiding the need to create one manually viaOverrideTimeSlice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostart(OverrideTimeSlice).- Parameters:
start- a consumer that will call methods onOverrideTimeSlice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
end
Sets the value of the End property for this object.- Parameters:
end- The new value for the End property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
Sets the value of the End property for this object. This is a convenience method that creates an instance of theOverrideTimeSlice.Builderavoiding the need to create one manually viaOverrideTimeSlice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toend(OverrideTimeSlice).- Parameters:
end- a consumer that will call methods onOverrideTimeSlice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideName
Unique identifier name for the override.
- Parameters:
overrideName- Unique identifier name for the override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationalStatus
Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.
- Parameters:
operationalStatus- Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationalStatus
Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.
- Parameters:
operationalStatus- Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-