Package software.amazon.awscdk.cxapi
Class Environment.Builder
java.lang.Object
software.amazon.awscdk.cxapi.Environment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Environment>
- Enclosing interface:
Environment
@Stability(Deprecated)
@Deprecated
public static final class Environment.Builder
extends Object
implements software.amazon.jsii.Builder<Environment>
Deprecated.
A builder for
Environment-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
account
Deprecated.Sets the value ofEnvironment.getAccount()- Parameters:
account- The AWS account this environment deploys into. This parameter is required.- Returns:
this
-
name
Deprecated.Sets the value ofEnvironment.getName()- Parameters:
name- The arbitrary name of this environment (user-set, or at least user-meaningful). This parameter is required.- Returns:
this
-
region
Deprecated.Sets the value ofEnvironment.getRegion()- Parameters:
region- The AWS region name where this environment deploys into. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Environment>- Returns:
- a new instance of
Environment - Throws:
NullPointerException- if any required attribute was not provided
-