public static interface GetEnvironmentResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetEnvironmentResponse.Builder |
applicationId(String applicationId)
The application ID.
|
GetEnvironmentResponse.Builder |
description(String description)
The description of the environment.
|
GetEnvironmentResponse.Builder |
id(String id)
The environment ID.
|
GetEnvironmentResponse.Builder |
monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
GetEnvironmentResponse.Builder |
monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
GetEnvironmentResponse.Builder |
monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
|
GetEnvironmentResponse.Builder |
name(String name)
The name of the environment.
|
GetEnvironmentResponse.Builder |
state(EnvironmentState state)
The state of the environment.
|
GetEnvironmentResponse.Builder |
state(String state)
The state of the environment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEnvironmentResponse.Builder applicationId(String applicationId)
The application ID.
applicationId - The application ID.GetEnvironmentResponse.Builder id(String id)
The environment ID.
id - The environment ID.GetEnvironmentResponse.Builder name(String name)
The name of the environment.
name - The name of the environment.GetEnvironmentResponse.Builder description(String description)
The description of the environment.
description - The description of the environment.GetEnvironmentResponse.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,
EnvironmentStateGetEnvironmentResponse.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,
EnvironmentStateGetEnvironmentResponse.Builder monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.GetEnvironmentResponse.Builder monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
monitors - Amazon CloudWatch alarms monitored during the deployment.GetEnvironmentResponse.Builder monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
This is a convenience method that creates an instance of theMonitor.Builder avoiding the need to create one
manually via Monitor.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #monitors(List.
monitors - a consumer that will call methods on
Monitor.Builder#monitors(java.util.Collection) Copyright © 2023. All rights reserved.