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
-
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, sdkFields
-
-
-
-
Method Detail
-
applicationId
CreateEnvironmentRequest.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.
-
name
CreateEnvironmentRequest.Builder name(String 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
CreateEnvironmentRequest.Builder description(String 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
CreateEnvironmentRequest.Builder monitors(Collection<Monitor> 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
CreateEnvironmentRequest.Builder monitors(Monitor... 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
CreateEnvironmentRequest.Builder monitors(Consumer<Monitor.Builder>... 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 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)
-
tags
CreateEnvironmentRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-