Interface CfnHoursOfOperationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHoursOfOperationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:34.352Z")
@Stability(Stable)
public interface CfnHoursOfOperationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHoursOfOperation.
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.connect.*;
CfnHoursOfOperationProps cfnHoursOfOperationProps = CfnHoursOfOperationProps.builder()
.config(List.of(HoursOfOperationConfigProperty.builder()
.day("day")
.endTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.startTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.build()))
.instanceArn("instanceArn")
.name("name")
.timeZone("timeZone")
// the properties below are optional
.description("description")
.hoursOfOperationOverrides(List.of(HoursOfOperationOverrideProperty.builder()
.effectiveFrom("effectiveFrom")
.effectiveTill("effectiveTill")
.overrideConfig(List.of(HoursOfOperationOverrideConfigProperty.builder()
.day("day")
.endTime(OverrideTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.startTime(OverrideTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.build()))
.overrideName("overrideName")
// the properties below are optional
.hoursOfOperationOverrideId("hoursOfOperationOverrideId")
.overrideDescription("overrideDescription")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHoursOfOperationPropsstatic final classAn implementation forCfnHoursOfOperationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration information for the hours of operation.default StringThe description for the hours of operation.default ObjectOne or more hours of operation overrides assigned to an hour of operation.The Amazon Resource Name (ARN) of the instance.getName()The name for the hours of operation.getTags()The tags used to organize, track, or control access for this resource.The time zone for the hours of operation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfig
Configuration information for the hours of operation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationConfigProperty>- See Also:
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.- See Also:
-
getName
The name for the hours of operation.- See Also:
-
getTimeZone
The time zone for the hours of operation.- See Also:
-
getDescription
The description for the hours of operation.- See Also:
-
getHoursOfOperationOverrides
One or more hours of operation overrides assigned to an hour of operation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationOverrideProperty>- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
builder
- Returns:
- a
CfnHoursOfOperationProps.BuilderofCfnHoursOfOperationProps
-