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.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()tags(List<? extends CfnEnvironment.TagsProperty> tags) 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
 - 
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
@Stability(Stable) public CfnEnvironmentProps.Builder tags(List<? extends CfnEnvironment.TagsProperty> 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
 
 -