Class CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideProperty>
- Enclosing interface:
CfnHoursOfOperation.HoursOfOperationOverrideProperty
@Stability(Stable)
public static final class CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideProperty>
A builder for
CfnHoursOfOperation.HoursOfOperationOverrideProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.effectiveFrom
(String effectiveFrom) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getEffectiveFrom()
effectiveTill
(String effectiveTill) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getEffectiveTill()
hoursOfOperationOverrideId
(String hoursOfOperationOverrideId) overrideConfig
(List<? extends Object> overrideConfig) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideConfig()
overrideConfig
(IResolvable overrideConfig) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideConfig()
overrideDescription
(String overrideDescription) overrideName
(String overrideName) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
effectiveFrom
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder effectiveFrom(String effectiveFrom) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getEffectiveFrom()
- Parameters:
effectiveFrom
- The date from which the hours of operation override would be effective. This parameter is required.- Returns:
this
-
effectiveTill
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder effectiveTill(String effectiveTill) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getEffectiveTill()
- Parameters:
effectiveTill
- The date till which the hours of operation override would be effective. This parameter is required.- Returns:
this
-
overrideConfig
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder overrideConfig(IResolvable overrideConfig) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideConfig()
- Parameters:
overrideConfig
- Configuration information for the hours of operation override: day, start time, and end time. This parameter is required.- Returns:
this
-
overrideConfig
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder overrideConfig(List<? extends Object> overrideConfig) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideConfig()
- Parameters:
overrideConfig
- Configuration information for the hours of operation override: day, start time, and end time. This parameter is required.- Returns:
this
-
overrideName
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder overrideName(String overrideName) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getOverrideName()
- Parameters:
overrideName
- The name of the hours of operation override. This parameter is required.- Returns:
this
-
hoursOfOperationOverrideId
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder hoursOfOperationOverrideId(String hoursOfOperationOverrideId) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideProperty.getHoursOfOperationOverrideId()
- Parameters:
hoursOfOperationOverrideId
- The identifier for the hours of operation override.- Returns:
this
-
overrideDescription
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideProperty.Builder overrideDescription(String overrideDescription) - Parameters:
overrideDescription
- The description of the hours of operation override.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideProperty>
- Returns:
- a new instance of
CfnHoursOfOperation.HoursOfOperationOverrideProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-