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