Interface CfnCampaignPropsMixin.TimeWindowProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignPropsMixin.TimeWindowProperty.Jsii$Proxy
- Enclosing class:
CfnCampaignPropsMixin
@Stability(Stable)
public static interface CfnCampaignPropsMixin.TimeWindowProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about a time window.
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.*;
TimeWindowProperty timeWindowProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaignPropsMixin.TimeWindowPropertystatic final classAn implementation forCfnCampaignPropsMixin.TimeWindowProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOpenHours
The open hours configuration.Returns union: either
IResolvableorCfnCampaignPropsMixin.OpenHoursProperty- See Also:
-
getRestrictedPeriods
The restricted periods configuration.Returns union: either
IResolvableorCfnCampaignPropsMixin.RestrictedPeriodsProperty- See Also:
-
builder
-