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 runtime environment.
|
CreateEnvironmentRequest.Builder |
engineType(EngineType engineType)
The engine type for the runtime environment.
|
CreateEnvironmentRequest.Builder |
engineType(String engineType)
The engine type for the runtime environment.
|
CreateEnvironmentRequest.Builder |
engineVersion(String engineVersion)
The version of the engine type for the runtime 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 runtime environment.
|
CreateEnvironmentRequest.Builder |
kmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
CreateEnvironmentRequest.Builder |
name(String name)
The name of the runtime environment.
|
CreateEnvironmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEnvironmentRequest.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window you want for the runtime environment.
|
CreateEnvironmentRequest.Builder |
publiclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
|
CreateEnvironmentRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
|
CreateEnvironmentRequest.Builder |
securityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this runtime 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 runtime environment.
|
CreateEnvironmentRequest.Builder |
subnetIds(String... subnetIds)
The list of subnets associated with the VPC for this runtime environment.
|
CreateEnvironmentRequest.Builder |
tags(Map<String,String> tags)
The tags for the runtime 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 runtime environment.
description - The description of the runtime environment.CreateEnvironmentRequest.Builder engineType(String engineType)
The engine type for the runtime environment.
engineType - The engine type for the runtime environment.EngineType,
EngineTypeCreateEnvironmentRequest.Builder engineType(EngineType engineType)
The engine type for the runtime environment.
engineType - The engine type for the runtime environment.EngineType,
EngineTypeCreateEnvironmentRequest.Builder engineVersion(String engineVersion)
The version of the engine type for the runtime environment.
engineVersion - The version of the engine type for the runtime 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 runtime environment.
instanceType - The type of instance for the runtime environment.CreateEnvironmentRequest.Builder kmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId - The identifier of a customer managed key.CreateEnvironmentRequest.Builder name(String name)
The name of the runtime environment. Must be unique within the account.
name - The name of the runtime environment. Must be unique within the account.CreateEnvironmentRequest.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow - Configures the maintenance window you want for the runtime environment. If you do not provide a value,
a random system-generated value will be assigned.CreateEnvironmentRequest.Builder publiclyAccessible(Boolean publiclyAccessible)
Specifies whether the runtime environment is publicly accessible.
publiclyAccessible - Specifies whether the runtime environment is publicly accessible.CreateEnvironmentRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
securityGroupIds - The list of security groups for the VPC associated with this runtime environment.CreateEnvironmentRequest.Builder securityGroupIds(String... securityGroupIds)
The list of security groups for the VPC associated with this runtime environment.
securityGroupIds - The list of security groups for the VPC associated with this runtime environment.CreateEnvironmentRequest.Builder storageConfigurations(Collection<StorageConfiguration> storageConfigurations)
Optional. The storage configurations for this runtime environment.
storageConfigurations - Optional. The storage configurations for this runtime environment.CreateEnvironmentRequest.Builder storageConfigurations(StorageConfiguration... storageConfigurations)
Optional. The storage configurations for this runtime environment.
storageConfigurations - Optional. The storage configurations for this runtime environment.CreateEnvironmentRequest.Builder storageConfigurations(Consumer<StorageConfiguration.Builder>... storageConfigurations)
Optional. The storage configurations for this runtime 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 runtime environment.
subnetIds - The list of subnets associated with the VPC for this runtime environment.CreateEnvironmentRequest.Builder subnetIds(String... subnetIds)
The list of subnets associated with the VPC for this runtime environment.
subnetIds - The list of subnets associated with the VPC for this runtime environment.CreateEnvironmentRequest.Builder tags(Map<String,String> tags)
The tags for the runtime environment.
tags - The tags for the runtime environment.CreateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.