Interface CreateEnvironmentRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateEnvironmentRequest.Builder,,CreateEnvironmentRequest> SdkBuilder<CreateEnvironmentRequest.Builder,,CreateEnvironmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEnvironmentRequest
public static interface CreateEnvironmentRequest.Builder
extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID.description(String description) A description of the environment.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.A name for the environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Metadata to assign to the environment.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
name
A name for the environment.
- Parameters:
name- A name for 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.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 onMonitor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags- Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-