Interface CfnCampaignPropsMixin.CommunicationTimeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCampaignPropsMixin
@Stability(Stable)
public static interface CfnCampaignPropsMixin.CommunicationTimeConfigProperty
extends software.amazon.jsii.JsiiSerializable
Communication time configuration for an outbound campaign.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.*;
CommunicationTimeConfigProperty communicationTimeConfigProperty = CommunicationTimeConfigProperty.builder()
.email(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.localTimeZoneConfig(LocalTimeZoneConfigProperty.builder()
.defaultTimeZone("defaultTimeZone")
.localTimeZoneDetection(List.of("localTimeZoneDetection"))
.build())
.sms(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.telephony(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.whatsApp(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaignPropsMixin.CommunicationTimeConfigPropertystatic final classAn implementation forCfnCampaignPropsMixin.CommunicationTimeConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetEmail()The communication time configuration for the email channel subtype.default ObjectThe local timezone configuration.default ObjectgetSms()The communication time configuration for the SMS channel subtype.default ObjectThe communication time configuration for the telephony channel subtype.default ObjectThe communication time configuration for the WhatsApp channel subtype.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmail
The communication time configuration for the email channel subtype.Returns union: either
IResolvableorCfnCampaignPropsMixin.TimeWindowProperty- See Also:
-
getLocalTimeZoneConfig
The local timezone configuration.Returns union: either
IResolvableorCfnCampaignPropsMixin.LocalTimeZoneConfigProperty- See Also:
-
getSms
The communication time configuration for the SMS channel subtype.Returns union: either
IResolvableorCfnCampaignPropsMixin.TimeWindowProperty- See Also:
-
getTelephony
The communication time configuration for the telephony channel subtype.Returns union: either
IResolvableorCfnCampaignPropsMixin.TimeWindowProperty- See Also:
-
getWhatsApp
The communication time configuration for the WhatsApp channel subtype.Returns union: either
IResolvableorCfnCampaignPropsMixin.TimeWindowProperty- See Also:
-
builder
-