public static final class Environment.Builder
extends java.lang.Object
Environment
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Environment.Builder |
account(java.lang.String account)
Sets the value of
Environment.getAccount() |
Environment |
build()
Builds the configured instance.
|
Environment.Builder |
name(java.lang.String name)
Sets the value of
Environment.getName() |
Environment.Builder |
region(java.lang.String region)
Sets the value of
Environment.getRegion() |
public Environment.Builder account(java.lang.String account)
Environment.getAccount()
account
- The AWS account this environment deploys into. This parameter is required.this
public Environment.Builder name(java.lang.String name)
Environment.getName()
name
- The arbitrary name of this environment (user-set, or at least user-meaningful). This parameter is required.this
public Environment.Builder region(java.lang.String region)
Environment.getRegion()
region
- The AWS region name where this environment deploys into. This parameter is required.this
public Environment build()
Environment
java.lang.NullPointerException
- if any required attribute was not provided