@Stability(value=Stable) public static final class CfnMaintenanceWindowTarget.TargetsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindowTarget.TargetsProperty>
CfnMaintenanceWindowTarget.TargetsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMaintenanceWindowTarget.TargetsProperty |
build()
Builds the configured instance.
|
CfnMaintenanceWindowTarget.TargetsProperty.Builder |
key(String key)
Sets the value of
CfnMaintenanceWindowTarget.TargetsProperty.getKey() |
CfnMaintenanceWindowTarget.TargetsProperty.Builder |
values(List<String> values)
Sets the value of
CfnMaintenanceWindowTarget.TargetsProperty.getValues() |
@Stability(value=Stable) public CfnMaintenanceWindowTarget.TargetsProperty.Builder key(String key)
CfnMaintenanceWindowTarget.TargetsProperty.getKey()key - User-defined criteria for sending commands that target managed nodes that meet the criteria. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.TargetsProperty.Builder values(List<String> values)
CfnMaintenanceWindowTarget.TargetsProperty.getValues()values - User-defined criteria that maps to `Key` . This parameter is required.
For example, if you specified tag:ServerRole , you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer .
Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
this@Stability(value=Stable) public CfnMaintenanceWindowTarget.TargetsProperty build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindowTarget.TargetsProperty>CfnMaintenanceWindowTarget.TargetsPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.