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 SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID.description(String description) The description of the environment.The environment ID.monitors(Collection<Monitor> monitors) Amazon CloudWatch alarms monitored during the deployment.monitors(Consumer<Monitor.Builder>... monitors) Amazon CloudWatch alarms monitored during the deployment.Amazon CloudWatch alarms monitored during the deployment.The name of the environment.The state of the environment.state(EnvironmentState state) The state of the environment.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
applicationIdThe application ID. - Parameters:
- applicationId- The application ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idThe environment ID. - Parameters:
- id- The environment ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe 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.
 
- 
descriptionThe 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.
 
- 
stateThe 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, or- ROLLED_BACK
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe 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, or- ROLLED_BACK
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
monitorsAmazon 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.
 
- 
monitorsAmazon 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.
 
- 
monitorsAmazon 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 tomonitors(List<Monitor>).- Parameters:
- monitors- a consumer that will call methods on- Monitor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-