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.hoursOfOperationOverrides
(List<? extends Object> hoursOfOperationOverrides) One or more hours of operation overrides assigned to an hour of operation.hoursOfOperationOverrides
(IResolvable hoursOfOperationOverrides) One or more hours of operation overrides assigned to an hour of operation.instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of 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
@Stability(Stable) public static CfnHoursOfOperation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
config
Configuration information for the hours of operation.- Parameters:
config
- Configuration information for the hours of operation. This parameter is required.- Returns:
this
- See Also:
-
instanceArn
The Amazon Resource Name (ARN) of the instance.- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
- See Also:
-
name
The name for the hours of operation.- Parameters:
name
- The name for the hours of operation. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
description
The description for the hours of operation.- Parameters:
description
- The description for the hours of operation. This parameter is required.- Returns:
this
- See Also:
-
hoursOfOperationOverrides
@Stability(Stable) public CfnHoursOfOperation.Builder hoursOfOperationOverrides(IResolvable hoursOfOperationOverrides) One or more hours of operation overrides assigned to an hour of operation.- Parameters:
hoursOfOperationOverrides
- One or more hours of operation overrides assigned to an hour of operation. This parameter is required.- Returns:
this
- See Also:
-
hoursOfOperationOverrides
@Stability(Stable) public CfnHoursOfOperation.Builder hoursOfOperationOverrides(List<? extends Object> hoursOfOperationOverrides) One or more hours of operation overrides assigned to an hour of operation.- Parameters:
hoursOfOperationOverrides
- One or more hours of operation overrides assigned to an hour of operation. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperation>
- Returns:
- a newly built instance of
CfnHoursOfOperation
.
-