Interface UpdateEnvironmentResponse.Builder
-
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>,SdkBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateEnvironmentResponse
public static interface UpdateEnvironmentResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateEnvironmentResponse.BuilderapplicationId(String applicationId)The application ID.UpdateEnvironmentResponse.Builderdescription(String description)The description of the environment.UpdateEnvironmentResponse.Builderid(String id)The environment ID.UpdateEnvironmentResponse.Buildermonitors(Collection<Monitor> monitors)Amazon CloudWatch alarms monitored during the deployment.UpdateEnvironmentResponse.Buildermonitors(Consumer<Monitor.Builder>... monitors)Amazon CloudWatch alarms monitored during the deployment.UpdateEnvironmentResponse.Buildermonitors(Monitor... monitors)Amazon CloudWatch alarms monitored during the deployment.UpdateEnvironmentResponse.Buildername(String name)The name of the environment.UpdateEnvironmentResponse.Builderstate(String state)The state of the environment.UpdateEnvironmentResponse.Builderstate(EnvironmentState state)The state of the environment.-
Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
applicationId
UpdateEnvironmentResponse.Builder applicationId(String applicationId)
The application ID.
- Parameters:
applicationId- The application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
UpdateEnvironmentResponse.Builder id(String id)
The environment ID.
- Parameters:
id- The environment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateEnvironmentResponse.Builder name(String name)
The name of the environment.
- Parameters:
name- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateEnvironmentResponse.Builder description(String description)
The description of the environment.
- Parameters:
description- The description of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
UpdateEnvironmentResponse.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, orROLLED_BACK- Parameters:
state- The state of the environment. An environment can be in one of the following states:READY_FOR_DEPLOYMENT,DEPLOYING,ROLLING_BACK, orROLLED_BACK- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentState,EnvironmentState
-
state
UpdateEnvironmentResponse.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, orROLLED_BACK- Parameters:
state- The state of the environment. An environment can be in one of the following states:READY_FOR_DEPLOYMENT,DEPLOYING,ROLLING_BACK, orROLLED_BACK- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnvironmentState,EnvironmentState
-
monitors
UpdateEnvironmentResponse.Builder monitors(Collection<Monitor> monitors)
Amazon CloudWatch alarms monitored during the deployment.
- Parameters:
monitors- Amazon CloudWatch alarms monitored during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
UpdateEnvironmentResponse.Builder monitors(Monitor... monitors)
Amazon CloudWatch alarms monitored during the deployment.
- Parameters:
monitors- Amazon CloudWatch alarms monitored during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
UpdateEnvironmentResponse.Builder monitors(Consumer<Monitor.Builder>... monitors)
Amazon CloudWatch alarms monitored during the deployment.
This is a convenience method that creates an instance of theMonitor.Builderavoiding the need to create one manually viaMonitor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#monitors(List.) - Parameters:
monitors- a consumer that will call methods onMonitor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#monitors(java.util.Collection)
-
-