Interface Environment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Environment.Builder,Environment>,SdkBuilder<Environment.Builder,Environment>,SdkPojo
- Enclosing class:
- Environment
public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Environment.BuilderapplicationId(String applicationId)The application ID.Environment.Builderdescription(String description)The description of the environment.Environment.Builderid(String id)The environment ID.Environment.Buildermonitors(Collection<Monitor> monitors)Amazon CloudWatch alarms monitored during the deployment.Environment.Buildermonitors(Consumer<Monitor.Builder>... monitors)Amazon CloudWatch alarms monitored during the deployment.Environment.Buildermonitors(Monitor... monitors)Amazon CloudWatch alarms monitored during the deployment.Environment.Buildername(String name)The name of the environment.Environment.Builderstate(String state)The state of the environment.Environment.Builderstate(EnvironmentState state)The state of the environment.-
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
-
-
-
-
Method Detail
-
applicationId
Environment.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
Environment.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
Environment.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
Environment.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
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, 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
Environment.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
Environment.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
Environment.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
Environment.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)
-
-