public static final class CfnFunction.DeploymentPreferenceProperty.Builder extends Object
CfnFunction.DeploymentPreferenceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunction.DeploymentPreferenceProperty |
build()
Builds the configured instance.
|
CfnFunction.DeploymentPreferenceProperty.Builder |
withAlarms(List<String> value)
Sets the value of Alarms
|
CfnFunction.DeploymentPreferenceProperty.Builder |
withEnabled(Boolean value)
Sets the value of Enabled
|
CfnFunction.DeploymentPreferenceProperty.Builder |
withEnabled(software.amazon.awscdk.Token value)
Sets the value of Enabled
|
CfnFunction.DeploymentPreferenceProperty.Builder |
withHooks(List<String> value)
Sets the value of Hooks
|
CfnFunction.DeploymentPreferenceProperty.Builder |
withType(String value)
Sets the value of Type
|
public CfnFunction.DeploymentPreferenceProperty.Builder withEnabled(Boolean value)
value - `CfnFunction.DeploymentPreferenceProperty.Enabled`.thispublic CfnFunction.DeploymentPreferenceProperty.Builder withEnabled(software.amazon.awscdk.Token value)
value - `CfnFunction.DeploymentPreferenceProperty.Enabled`.thispublic CfnFunction.DeploymentPreferenceProperty.Builder withType(String value)
value - `CfnFunction.DeploymentPreferenceProperty.Type`.thispublic CfnFunction.DeploymentPreferenceProperty.Builder withAlarms(@Nullable List<String> value)
value - `CfnFunction.DeploymentPreferenceProperty.Alarms`.thispublic CfnFunction.DeploymentPreferenceProperty.Builder withHooks(@Nullable List<String> value)
value - `CfnFunction.DeploymentPreferenceProperty.Hooks`.thispublic CfnFunction.DeploymentPreferenceProperty build()
CfnFunction.DeploymentPreferencePropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.