Class Environment.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.Environment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Environment>
- Enclosing class:
Environment
@Stability(Stable)
public static final class Environment.Builder
extends Object
implements software.amazon.jsii.Builder<Environment>
A fluent builder for
Environment
.-
Method Summary
Modifier and TypeMethodDescriptionapplication
(IApplication application) The application to be associated with the environment.build()
static Environment.Builder
description
(String description) The description of the environment.environmentName
(String environmentName) The name of the environment.The monitors for the environment.
-
Method Details
-
create
@Stability(Stable) public static Environment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Environment.Builder
.
-
description
The description of the environment.Default: - No description.
- Parameters:
description
- The description of the environment. This parameter is required.- Returns:
this
-
environmentName
The name of the environment.Default: - A name is generated.
- Parameters:
environmentName
- The name of the environment. This parameter is required.- Returns:
this
-
monitors
The monitors for the environment.Default: - No monitors.
- Parameters:
monitors
- The monitors for the environment. This parameter is required.- Returns:
this
-
application
The application to be associated with the environment.- Parameters:
application
- The application to be associated with the environment. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<Environment>
- Returns:
- a newly built instance of
Environment
.
-