public static interface CreateEnvironmentResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateEnvironmentResponse.Builder |
applicationId(String applicationId)
The application ID.
|
CreateEnvironmentResponse.Builder |
description(String description)
The description of the environment.
|
CreateEnvironmentResponse.Builder |
id(String id)
The environment ID.
|
CreateEnvironmentResponse.Builder |
monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
CreateEnvironmentResponse.Builder |
monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
CreateEnvironmentResponse.Builder |
monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
CreateEnvironmentResponse.Builder |
name(String name)
The name of the environment.
|
CreateEnvironmentResponse.Builder |
state(EnvironmentState state)
The state of the environment.
|
CreateEnvironmentResponse.Builder |
state(String state)
The state of the environment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEnvironmentResponse.Builder applicationId(String applicationId)
The application ID.
applicationId - The application ID.CreateEnvironmentResponse.Builder id(String id)
The environment ID.
id - The environment ID.CreateEnvironmentResponse.Builder name(String name)
The name of the environment.
name - The name of the environment.CreateEnvironmentResponse.Builder description(String description)
The description of the environment.
description - The description of the environment.CreateEnvironmentResponse.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,
EnvironmentStateCreateEnvironmentResponse.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,
EnvironmentStateCreateEnvironmentResponse.Builder monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.CreateEnvironmentResponse.Builder monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.CreateEnvironmentResponse.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 © 2022. All rights reserved.