Interface CfnHoursOfOperationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnHoursOfOperationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.976Z") @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")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getConfig

      @Stability(Stable) @NotNull Object getConfig()
      Configuration information for the hours of operation.
    • getInstanceArn

      @Stability(Stable) @NotNull String getInstanceArn()
      The Amazon Resource Name (ARN) for the instance.
    • getName

      @Stability(Stable) @NotNull String getName()
      The name for the hours of operation.
    • getTimeZone

      @Stability(Stable) @NotNull String getTimeZone()
      The time zone for the hours of operation.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description for the hours of operation.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags used to organize, track, or control access for this resource.

      For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    • builder

      @Stability(Stable) static CfnHoursOfOperationProps.Builder builder()
      Returns:
      a CfnHoursOfOperationProps.Builder of CfnHoursOfOperationProps