Interface UpdateEnvironmentRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEnvironmentRequest.Builder,
,UpdateEnvironmentRequest> SdkBuilder<UpdateEnvironmentRequest.Builder,
,UpdateEnvironmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEnvironmentRequest
@Mutable
@NotThreadSafe
public static interface UpdateEnvironmentRequest.Builder
extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID.description
(String description) A description of the environment.environmentId
(String environmentId) The environment ID.monitors
(Collection<Monitor> monitors) Amazon CloudWatch alarms to monitor during the deployment process.monitors
(Consumer<Monitor.Builder>... monitors) Amazon CloudWatch alarms to monitor during the deployment process.Amazon CloudWatch alarms to monitor during the deployment process.The name of the environment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The application ID.
- Parameters:
applicationId
- The application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The environment ID.
- Parameters:
environmentId
- The environment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
A description of the environment.
- Parameters:
description
- A description of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
Amazon CloudWatch alarms to monitor during the deployment process.
- Parameters:
monitors
- Amazon CloudWatch alarms to monitor during the deployment process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
Amazon CloudWatch alarms to monitor during the deployment process.
- Parameters:
monitors
- Amazon CloudWatch alarms to monitor during the deployment process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
Amazon CloudWatch alarms to monitor during the deployment process.
This is a convenience method that creates an instance of theMonitor.Builder
avoiding the need to create one manually viaMonitor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitors(List<Monitor>)
.- 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:
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-