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 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

      @Stability(Stable) public Environment.Builder description(String description)
      The description of the environment.

      Default: - No description.

      Parameters:
      description - The description of the environment. This parameter is required.
      Returns:
      this
    • environmentName

      @Stability(Stable) public Environment.Builder environmentName(String 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

      @Stability(Stable) public Environment.Builder monitors(List<? extends Monitor> monitors)
      The monitors for the environment.

      Default: - No monitors.

      Parameters:
      monitors - The monitors for the environment. This parameter is required.
      Returns:
      this
    • application

      @Stability(Stable) public Environment.Builder application(IApplication 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

      @Stability(Stable) public Environment build()
      Specified by:
      build in interface software.amazon.jsii.Builder<Environment>
      Returns:
      a newly built instance of Environment.