Class CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.amazonmq.mixins.CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrokerPropsMixin.MaintenanceWindowProperty>
- Enclosing interface:
CfnBrokerPropsMixin.MaintenanceWindowProperty
@Stability(Stable)
public static final class CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrokerPropsMixin.MaintenanceWindowProperty>
A builder for
CfnBrokerPropsMixin.MaintenanceWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getDayOfWeek()Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getTimeOfDay()Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getTimeZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfWeek
@Stability(Stable) public CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder dayOfWeek(String dayOfWeek) Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getDayOfWeek()- Parameters:
dayOfWeek- Required. The day of the week.- Returns:
this
-
timeOfDay
@Stability(Stable) public CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder timeOfDay(String timeOfDay) Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getTimeOfDay()- Parameters:
timeOfDay- Required. The time, in 24-hour format.- Returns:
this
-
timeZone
@Stability(Stable) public CfnBrokerPropsMixin.MaintenanceWindowProperty.Builder timeZone(String timeZone) Sets the value ofCfnBrokerPropsMixin.MaintenanceWindowProperty.getTimeZone()- Parameters:
timeZone- The time zone, UTC by default, in either the Country/City format, or the UTC offset format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrokerPropsMixin.MaintenanceWindowProperty>- Returns:
- a new instance of
CfnBrokerPropsMixin.MaintenanceWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-