Interface CfnCampaign.CommunicationTimeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.CommunicationTimeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCampaign
@Stability(Stable)
public static interface CfnCampaign.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.services.connectcampaignsv2.*;
CommunicationTimeConfigProperty communicationTimeConfigProperty = CommunicationTimeConfigProperty.builder()
.localTimeZoneConfig(LocalTimeZoneConfigProperty.builder()
.defaultTimeZone("defaultTimeZone")
.localTimeZoneDetection(List.of("localTimeZoneDetection"))
.build())
// the properties below are optional
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.build()))
.build())
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.CommunicationTimeConfigPropertystatic final classAn implementation forCfnCampaign.CommunicationTimeConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetEmail()The communication time configuration for the email channel subtype.The local timezone configuration.default ObjectgetSms()The communication time configuration for the SMS channel subtype.default ObjectThe communication time configuration for the telephony channel subtype.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocalTimeZoneConfig
The local timezone configuration.Returns union: either
IResolvableorCfnCampaign.LocalTimeZoneConfigProperty- See Also:
-
getEmail
The communication time configuration for the email channel subtype.Returns union: either
IResolvableorCfnCampaign.TimeWindowProperty- See Also:
-
getSms
The communication time configuration for the SMS channel subtype.Returns union: either
IResolvableorCfnCampaign.TimeWindowProperty- See Also:
-
getTelephony
The communication time configuration for the telephony channel subtype.Returns union: either
IResolvableorCfnCampaign.TimeWindowProperty- See Also:
-
builder
-