public static interface CreateEnvironmentRequest.Builder extends M2Request.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEnvironmentRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an
environment.
|
CreateEnvironmentRequest.Builder |
description(String description)
The description of the environment.
|
CreateEnvironmentRequest.Builder |
engineType(EngineType engineType)
The engine type for the environment.
|
CreateEnvironmentRequest.Builder |
engineType(String engineType)
The engine type for the environment.
|
CreateEnvironmentRequest.Builder |
engineVersion(String engineVersion)
The version of the engine type for the environment.
|
default CreateEnvironmentRequest.Builder |
highAvailabilityConfig(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
|
CreateEnvironmentRequest.Builder |
highAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
|
CreateEnvironmentRequest.Builder |
instanceType(String instanceType)
The type of instance for the environment.
|
CreateEnvironmentRequest.Builder |
name(String name)
The unique identifier of the environment.
|
CreateEnvironmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEnvironmentRequest.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment.
|
CreateEnvironmentRequest.Builder |
publiclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
|
CreateEnvironmentRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
|
CreateEnvironmentRequest.Builder |
securityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this environment.
|
CreateEnvironmentRequest.Builder |
storageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional.
|
CreateEnvironmentRequest.Builder |
storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations)
Optional.
|
CreateEnvironmentRequest.Builder |
storageConfigurations(StorageConfiguration... storageConfigurations)
Optional.
|
CreateEnvironmentRequest.Builder |
subnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
|
CreateEnvironmentRequest.Builder |
subnetIds(String... subnetIds)
The list of subnets associated with the VPC for this environment.
|
CreateEnvironmentRequest.Builder |
tags(Map<String,String> tags)
The tags for the environment.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEnvironmentRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an
environment. The service generates the clientToken when the API call is triggered. The token expires
after one hour, so if you retry the API within this timeframe with the same clientToken, you will get
the same response. The service also handles deleting the clientToken after it expires.CreateEnvironmentRequest.Builder description(String description)
The description of the environment.
description - The description of the environment.CreateEnvironmentRequest.Builder engineType(String engineType)
The engine type for the environment.
engineType - The engine type for the environment.EngineType,
EngineTypeCreateEnvironmentRequest.Builder engineType(EngineType engineType)
The engine type for the environment.
engineType - The engine type for the environment.EngineType,
EngineTypeCreateEnvironmentRequest.Builder engineVersion(String engineVersion)
The version of the engine type for the environment.
engineVersion - The version of the engine type for the environment.CreateEnvironmentRequest.Builder highAvailabilityConfig(HighAvailabilityConfig highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
highAvailabilityConfig - The details of a high availability configuration for this runtime environment.default CreateEnvironmentRequest.Builder highAvailabilityConfig(Consumer<HighAvailabilityConfig.Builder> highAvailabilityConfig)
The details of a high availability configuration for this runtime environment.
This is a convenience method that creates an instance of theHighAvailabilityConfig.Builder avoiding
the need to create one manually via HighAvailabilityConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to highAvailabilityConfig(HighAvailabilityConfig).
highAvailabilityConfig - a consumer that will call methods on HighAvailabilityConfig.BuilderhighAvailabilityConfig(HighAvailabilityConfig)CreateEnvironmentRequest.Builder instanceType(String instanceType)
The type of instance for the environment.
instanceType - The type of instance for the environment.CreateEnvironmentRequest.Builder name(String name)
The unique identifier of the environment.
name - The unique identifier of the environment.CreateEnvironmentRequest.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random
system-generated value will be assigned.CreateEnvironmentRequest.Builder publiclyAccessible(Boolean publiclyAccessible)
Specifies whether the environment is publicly accessible.
publiclyAccessible - Specifies whether the environment is publicly accessible.CreateEnvironmentRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this environment.
securityGroupIds - The list of security groups for the VPC associated with this environment.CreateEnvironmentRequest.Builder securityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this environment.
securityGroupIds - The list of security groups for the VPC associated with this environment.CreateEnvironmentRequest.Builder storageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this environment.
storageConfigurations - Optional. The storage configurations for this environment.CreateEnvironmentRequest.Builder storageConfigurations(StorageConfiguration... storageConfigurations)
Optional. The storage configurations for this environment.
storageConfigurations - Optional. The storage configurations for this environment.CreateEnvironmentRequest.Builder storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations)
Optional. The storage configurations for this environment.
This is a convenience method that creates an instance of theStorageConfiguration.Builder avoiding the need to create one
manually via StorageConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #storageConfigurations(List.
storageConfigurations - a consumer that will call methods on
StorageConfiguration.Builder#storageConfigurations(java.util.Collection) CreateEnvironmentRequest.Builder subnetIds(Collection<String> subnetIds)
The list of subnets associated with the VPC for this environment.
subnetIds - The list of subnets associated with the VPC for this environment.CreateEnvironmentRequest.Builder subnetIds(String... subnetIds)
The list of subnets associated with the VPC for this environment.
subnetIds - The list of subnets associated with the VPC for this environment.CreateEnvironmentRequest.Builder tags(Map<String,String> tags)
The tags for the environment.
tags - The tags for the environment.CreateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.