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