Class MaintenanceWindowReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ssm.MaintenanceWindowReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MaintenanceWindowReference>
- Enclosing interface:
MaintenanceWindowReference
@Stability(Stable)
public static final class MaintenanceWindowReference.Builder
extends Object
implements software.amazon.jsii.Builder<MaintenanceWindowReference>
A builder for
MaintenanceWindowReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maintenanceWindowId(String maintenanceWindowId) Sets the value ofMaintenanceWindowReference.getMaintenanceWindowId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maintenanceWindowId
@Stability(Stable) public MaintenanceWindowReference.Builder maintenanceWindowId(String maintenanceWindowId) Sets the value ofMaintenanceWindowReference.getMaintenanceWindowId()- Parameters:
maintenanceWindowId- The Id of the MaintenanceWindow resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MaintenanceWindowReference>- Returns:
- a new instance of
MaintenanceWindowReference - Throws:
NullPointerException- if any required attribute was not provided
-