public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
| Modifier and Type | Method and Description |
|---|---|
Environment.Builder |
applicationId(String applicationId)
The application ID.
|
Environment.Builder |
description(String description)
The description of the environment.
|
Environment.Builder |
id(String id)
The environment ID.
|
Environment.Builder |
monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
Environment.Builder |
monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
Environment.Builder |
monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
Environment.Builder |
name(String name)
The name of the environment.
|
Environment.Builder |
state(EnvironmentState state)
The state of the environment.
|
Environment.Builder |
state(String state)
The state of the environment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEnvironment.Builder applicationId(String applicationId)
The application ID.
applicationId - The application ID.Environment.Builder id(String id)
The environment ID.
id - The environment ID.Environment.Builder name(String name)
The name of the environment.
name - The name of the environment.Environment.Builder description(String description)
The description of the environment.
description - The description of the environment.Environment.Builder state(String state)
The state of the environment. An environment can be in one of the following states:
READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or
ROLLED_BACK
state - The state of the environment. An environment can be in one of the following states:
READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or
ROLLED_BACKEnvironmentState,
EnvironmentStateEnvironment.Builder state(EnvironmentState state)
The state of the environment. An environment can be in one of the following states:
READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or
ROLLED_BACK
state - The state of the environment. An environment can be in one of the following states:
READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or
ROLLED_BACKEnvironmentState,
EnvironmentStateEnvironment.Builder monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.Environment.Builder monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.Environment.Builder monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #monitors(List) .monitors - a consumer that will call methods on List.Builder #monitors(List) Copyright © 2020. All rights reserved.