Class CfnEnvironmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnEnvironmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentProps>
- Enclosing interface:
CfnEnvironmentProps
@Stability(Stable)
public static final class CfnEnvironmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentProps>
A builder for
CfnEnvironmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnEnvironmentProps.getApplicationId()build()Builds the configured instance.deletionProtectionCheck(String deletionProtectionCheck) Sets the value ofCfnEnvironmentProps.getDeletionProtectionCheck()description(String description) Sets the value ofCfnEnvironmentProps.getDescription()Sets the value ofCfnEnvironmentProps.getMonitors()monitors(IResolvable monitors) Sets the value ofCfnEnvironmentProps.getMonitors()Sets the value ofCfnEnvironmentProps.getName()Sets the value ofCfnEnvironmentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnEnvironmentProps.getApplicationId()- Parameters:
applicationId- The application ID. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnEnvironmentProps.getName()- Parameters:
name- A name for the environment. This parameter is required.- Returns:
this
-
deletionProtectionCheck
@Stability(Stable) public CfnEnvironmentProps.Builder deletionProtectionCheck(String deletionProtectionCheck) Sets the value ofCfnEnvironmentProps.getDeletionProtectionCheck()- Parameters:
deletionProtectionCheck- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html- Returns:
this
-
description
Sets the value ofCfnEnvironmentProps.getDescription()- Parameters:
description- A description of the environment.- Returns:
this
-
monitors
Sets the value ofCfnEnvironmentProps.getMonitors()- Parameters:
monitors- Amazon CloudWatch alarms to monitor during the deployment process.- Returns:
this
-
monitors
Sets the value ofCfnEnvironmentProps.getMonitors()- Parameters:
monitors- Amazon CloudWatch alarms to monitor during the deployment process.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentProps.getTags()- Parameters:
tags- Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentProps>- Returns:
- a new instance of
CfnEnvironmentProps - Throws:
NullPointerException- if any required attribute was not provided
-