Class CfnHoursOfOperation.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnHoursOfOperation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHoursOfOperation>
- Enclosing class:
CfnHoursOfOperation
@Stability(Stable)
public static final class CfnHoursOfOperation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHoursOfOperation>
A fluent builder for
CfnHoursOfOperation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Configuration information for the hours of operation.config
(IResolvable config) Configuration information for the hours of operation.static CfnHoursOfOperation.Builder
description
(String description) The description for the hours of operation.instanceArn
(String instanceArn) The Amazon Resource Name (ARN) for the instance.The name for the hours of operation.The tags used to organize, track, or control access for this resource.The time zone for the hours of operation.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnHoursOfOperation.Builder
.
-
config
Configuration information for the hours of operation.- Parameters:
config
- Configuration information for the hours of operation. This parameter is required.- Returns:
this
-
config
Configuration information for the hours of operation.- Parameters:
config
- Configuration information for the hours of operation. This parameter is required.- Returns:
this
-
instanceArn
The Amazon Resource Name (ARN) for the instance.- Parameters:
instanceArn
- The Amazon Resource Name (ARN) for the instance. This parameter is required.- Returns:
this
-
name
The name for the hours of operation.- Parameters:
name
- The name for the hours of operation. This parameter is required.- Returns:
this
-
timeZone
The time zone for the hours of operation.- Parameters:
timeZone
- The time zone for the hours of operation. This parameter is required.- Returns:
this
-
description
The description for the hours of operation.- Parameters:
description
- The description for the hours of operation. This parameter is required.- Returns:
this
-
tags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperation>
- Returns:
- a newly built instance of
CfnHoursOfOperation
.
-