Interface WhatsAppWeeklyOperatingHoursEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WhatsAppWeeklyOperatingHoursEntry.Builder,,WhatsAppWeeklyOperatingHoursEntry> SdkBuilder<WhatsAppWeeklyOperatingHoursEntry.Builder,,WhatsAppWeeklyOperatingHoursEntry> SdkPojo
- Enclosing class:
WhatsAppWeeklyOperatingHoursEntry
@Mutable
@NotThreadSafe
public static interface WhatsAppWeeklyOperatingHoursEntry.Builder
extends SdkPojo, CopyableBuilder<WhatsAppWeeklyOperatingHoursEntry.Builder,WhatsAppWeeklyOperatingHoursEntry>
-
Method Summary
Modifier and TypeMethodDescriptioncloseTime(Consumer<WhatsAppTimeOfDay.Builder> closeTime) The time of day when the business stops accepting calls.closeTime(WhatsAppTimeOfDay closeTime) The time of day when the business stops accepting calls.The day of the week that the entry applies to.dayOfWeek(WhatsAppDayOfWeek dayOfWeek) The day of the week that the entry applies to.openTime(Consumer<WhatsAppTimeOfDay.Builder> openTime) The time of day when the business begins accepting calls.openTime(WhatsAppTimeOfDay openTime) The time of day when the business begins accepting calls.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
-
dayOfWeek
The day of the week that the entry applies to.
- Parameters:
dayOfWeek- The day of the week that the entry applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dayOfWeek
The day of the week that the entry applies to.
- Parameters:
dayOfWeek- The day of the week that the entry applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openTime
The time of day when the business begins accepting calls.
- Parameters:
openTime- The time of day when the business begins accepting calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openTime
default WhatsAppWeeklyOperatingHoursEntry.Builder openTime(Consumer<WhatsAppTimeOfDay.Builder> openTime) The time of day when the business begins accepting calls.
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 toopenTime(WhatsAppTimeOfDay).- Parameters:
openTime- 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:
-
closeTime
The time of day when the business stops accepting calls.
- Parameters:
closeTime- The time of day when the business stops accepting calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
closeTime
default WhatsAppWeeklyOperatingHoursEntry.Builder closeTime(Consumer<WhatsAppTimeOfDay.Builder> closeTime) The time of day when the business stops accepting calls.
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 tocloseTime(WhatsAppTimeOfDay).- Parameters:
closeTime- 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:
-