Interface WhatsAppHolidayScheduleEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WhatsAppHolidayScheduleEntry.Builder,,WhatsAppHolidayScheduleEntry> SdkBuilder<WhatsAppHolidayScheduleEntry.Builder,,WhatsAppHolidayScheduleEntry> SdkPojo
- Enclosing class:
WhatsAppHolidayScheduleEntry
@Mutable
@NotThreadSafe
public static interface WhatsAppHolidayScheduleEntry.Builder
extends SdkPojo, CopyableBuilder<WhatsAppHolidayScheduleEntry.Builder,WhatsAppHolidayScheduleEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe date that the override applies to, in ISO 8601 format (YYYY-MM-DD).endTime(Consumer<WhatsAppTimeOfDay.Builder> endTime) The time of day when the business stops accepting calls on the override date.endTime(WhatsAppTimeOfDay endTime) The time of day when the business stops accepting calls on the override date.startTime(Consumer<WhatsAppTimeOfDay.Builder> startTime) The time of day when the business begins accepting calls on the override date.startTime(WhatsAppTimeOfDay startTime) The time of day when the business begins accepting calls on the override 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 override applies to, in ISO 8601 format (
YYYY-MM-DD).- Parameters:
date- The date that the override applies to, in ISO 8601 format (YYYY-MM-DD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time of day when the business begins accepting calls on the override date.
- Parameters:
startTime- The time of day when the business begins accepting calls on the override date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
default WhatsAppHolidayScheduleEntry.Builder startTime(Consumer<WhatsAppTimeOfDay.Builder> startTime) The time of day when the business begins accepting calls on the override date.
This is a convenience method that creates an instance of theWhatsAppTimeOfDay.Builderavoiding the need to create one manually viaWhatsAppTimeOfDay.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTime(WhatsAppTimeOfDay).- Parameters:
startTime- a consumer that will call methods onWhatsAppTimeOfDay.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
The time of day when the business stops accepting calls on the override date.
- Parameters:
endTime- The time of day when the business stops accepting calls on the override date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time of day when the business stops accepting calls on the override date.
This is a convenience method that creates an instance of theWhatsAppTimeOfDay.Builderavoiding the need to create one manually viaWhatsAppTimeOfDay.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendTime(WhatsAppTimeOfDay).- Parameters:
endTime- a consumer that will call methods onWhatsAppTimeOfDay.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-