@Stability(value=External) public static final class CfnFunction.DeploymentPreferenceProperty.Builder extends Object
CfnFunction.DeploymentPreferenceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunction.DeploymentPreferenceProperty.Builder |
alarms(List<String> alarms)
Sets the value of Alarms
|
CfnFunction.DeploymentPreferenceProperty |
build()
Builds the configured instance.
|
CfnFunction.DeploymentPreferenceProperty.Builder |
enabled(Boolean enabled)
Sets the value of Enabled
|
CfnFunction.DeploymentPreferenceProperty.Builder |
enabled(IResolvable enabled)
Sets the value of Enabled
|
CfnFunction.DeploymentPreferenceProperty.Builder |
hooks(List<String> hooks)
Sets the value of Hooks
|
CfnFunction.DeploymentPreferenceProperty.Builder |
type(String type)
Sets the value of Type
|
@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty.Builder enabled(Boolean enabled)
enabled - `CfnFunction.DeploymentPreferenceProperty.Enabled`. This parameter is required.this@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty.Builder enabled(IResolvable enabled)
enabled - `CfnFunction.DeploymentPreferenceProperty.Enabled`. This parameter is required.this@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty.Builder type(String type)
type - `CfnFunction.DeploymentPreferenceProperty.Type`. This parameter is required.this@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty.Builder alarms(List<String> alarms)
alarms - `CfnFunction.DeploymentPreferenceProperty.Alarms`.this@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty.Builder hooks(List<String> hooks)
hooks - `CfnFunction.DeploymentPreferenceProperty.Hooks`.this@Stability(value=External) public CfnFunction.DeploymentPreferenceProperty build()
CfnFunction.DeploymentPreferencePropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.