Class EnvironmentOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.EnvironmentOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentOptions>
- Enclosing interface:
EnvironmentOptions
@Stability(Stable)
public static final class EnvironmentOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentOptions>
A builder for
EnvironmentOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofEnvironmentOptions.getDescription()
environmentName
(String environmentName) Sets the value ofEnvironmentOptions.getEnvironmentName()
Sets the value ofEnvironmentOptions.getMonitors()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofEnvironmentOptions.getDescription()
- Parameters:
description
- The description of the environment.- Returns:
this
-
environmentName
Sets the value ofEnvironmentOptions.getEnvironmentName()
- Parameters:
environmentName
- The name of the environment.- Returns:
this
-
monitors
Sets the value ofEnvironmentOptions.getMonitors()
- Parameters:
monitors
- The monitors for the environment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EnvironmentOptions>
- Returns:
- a new instance of
EnvironmentOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-