Class CfnHoursOfOperationProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnHoursOfOperationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHoursOfOperationProps>
- Enclosing interface:
- CfnHoursOfOperationProps
@Stability(Stable)
public static final class CfnHoursOfOperationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHoursOfOperationProps>
A builder for
CfnHoursOfOperationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHoursOfOperationProps.getConfig()config(IResolvable config) Sets the value ofCfnHoursOfOperationProps.getConfig()description(String description) Sets the value ofCfnHoursOfOperationProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnHoursOfOperationProps.getInstanceArn()Sets the value ofCfnHoursOfOperationProps.getName()Sets the value ofCfnHoursOfOperationProps.getTags()Sets the value ofCfnHoursOfOperationProps.getTimeZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
config
Sets the value ofCfnHoursOfOperationProps.getConfig()- Parameters:
config- Configuration information for the hours of operation. This parameter is required.- Returns:
this
-
config
Sets the value ofCfnHoursOfOperationProps.getConfig()- Parameters:
config- Configuration information for the hours of operation. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnHoursOfOperationProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) for the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnHoursOfOperationProps.getName()- Parameters:
name- The name for the hours of operation. This parameter is required.- Returns:
this
-
timeZone
Sets the value ofCfnHoursOfOperationProps.getTimeZone()- Parameters:
timeZone- The time zone for the hours of operation. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnHoursOfOperationProps.getDescription()- Parameters:
description- The description for the hours of operation.- Returns:
this
-
tags
Sets the value ofCfnHoursOfOperationProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperationProps>- Returns:
- a new instance of
CfnHoursOfOperationProps - Throws:
NullPointerException- if any required attribute was not provided
-