Interface CommunicationTimeConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommunicationTimeConfig.Builder,
,CommunicationTimeConfig> SdkBuilder<CommunicationTimeConfig.Builder,
,CommunicationTimeConfig> SdkPojo
- Enclosing class:
CommunicationTimeConfig
@Mutable
@NotThreadSafe
public static interface CommunicationTimeConfig.Builder
extends SdkPojo, CopyableBuilder<CommunicationTimeConfig.Builder,CommunicationTimeConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommunicationTimeConfig.Builder
email
(Consumer<TimeWindow.Builder> email) Sets the value of the Email property for this object.email
(TimeWindow email) Sets the value of the Email property for this object.default CommunicationTimeConfig.Builder
localTimeZoneConfig
(Consumer<LocalTimeZoneConfig.Builder> localTimeZoneConfig) Sets the value of the LocalTimeZoneConfig property for this object.localTimeZoneConfig
(LocalTimeZoneConfig localTimeZoneConfig) Sets the value of the LocalTimeZoneConfig property for this object.default CommunicationTimeConfig.Builder
sms
(Consumer<TimeWindow.Builder> sms) Sets the value of the Sms property for this object.sms
(TimeWindow sms) Sets the value of the Sms property for this object.default CommunicationTimeConfig.Builder
telephony
(Consumer<TimeWindow.Builder> telephony) Sets the value of the Telephony property for this object.telephony
(TimeWindow telephony) Sets the value of the Telephony property for this object.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 Details
-
localTimeZoneConfig
Sets the value of the LocalTimeZoneConfig property for this object.- Parameters:
localTimeZoneConfig
- The new value for the LocalTimeZoneConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localTimeZoneConfig
default CommunicationTimeConfig.Builder localTimeZoneConfig(Consumer<LocalTimeZoneConfig.Builder> localTimeZoneConfig) Sets the value of the LocalTimeZoneConfig property for this object. This is a convenience method that creates an instance of theLocalTimeZoneConfig.Builder
avoiding the need to create one manually viaLocalTimeZoneConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalTimeZoneConfig(LocalTimeZoneConfig)
.- Parameters:
localTimeZoneConfig
- a consumer that will call methods onLocalTimeZoneConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
telephony
Sets the value of the Telephony property for this object.- Parameters:
telephony
- The new value for the Telephony property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephony
Sets the value of the Telephony property for this object. This is a convenience method that creates an instance of theTimeWindow.Builder
avoiding the need to create one manually viaTimeWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totelephony(TimeWindow)
.- Parameters:
telephony
- a consumer that will call methods onTimeWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sms
Sets the value of the Sms property for this object.- Parameters:
sms
- The new value for the Sms property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
Sets the value of the Sms property for this object. This is a convenience method that creates an instance of theTimeWindow.Builder
avoiding the need to create one manually viaTimeWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosms(TimeWindow)
.- Parameters:
sms
- a consumer that will call methods onTimeWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
email
Sets the value of the Email property for this object.- Parameters:
email
- The new value for the Email property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Sets the value of the Email property for this object. This is a convenience method that creates an instance of theTimeWindow.Builder
avoiding the need to create one manually viaTimeWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemail(TimeWindow)
.- Parameters:
email
- a consumer that will call methods onTimeWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-