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