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