Class CfnEnvironmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
- Enclosing interface:
CfnEnvironmentMixinProps
CfnEnvironmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEnvironmentMixinProps.getDescription()engineType(String engineType) Sets the value ofCfnEnvironmentMixinProps.getEngineType()engineVersion(String engineVersion) Sets the value ofCfnEnvironmentMixinProps.getEngineVersion()highAvailabilityConfig(CfnEnvironmentPropsMixin.HighAvailabilityConfigProperty highAvailabilityConfig) Sets the value ofCfnEnvironmentMixinProps.getHighAvailabilityConfig()highAvailabilityConfig(IResolvable highAvailabilityConfig) Sets the value ofCfnEnvironmentMixinProps.getHighAvailabilityConfig()instanceType(String instanceType) Sets the value ofCfnEnvironmentMixinProps.getInstanceType()Sets the value ofCfnEnvironmentMixinProps.getKmsKeyId()Sets the value ofCfnEnvironmentMixinProps.getName()networkType(String networkType) Sets the value ofCfnEnvironmentMixinProps.getNetworkType()preferredMaintenanceWindow(String preferredMaintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getPreferredMaintenanceWindow()publiclyAccessible(Boolean publiclyAccessible) Sets the value ofCfnEnvironmentMixinProps.getPubliclyAccessible()publiclyAccessible(IResolvable publiclyAccessible) Sets the value ofCfnEnvironmentMixinProps.getPubliclyAccessible()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnEnvironmentMixinProps.getSecurityGroupIds()storageConfigurations(List<? extends Object> storageConfigurations) Sets the value ofCfnEnvironmentMixinProps.getStorageConfigurations()storageConfigurations(IResolvable storageConfigurations) Sets the value ofCfnEnvironmentMixinProps.getStorageConfigurations()Sets the value ofCfnEnvironmentMixinProps.getSubnetIds()Sets the value ofCfnEnvironmentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnEnvironmentMixinProps.getDescription()- Parameters:
description- The description of the runtime environment.- Returns:
this
-
engineType
Sets the value ofCfnEnvironmentMixinProps.getEngineType()- Parameters:
engineType- The target platform for the runtime environment.- Returns:
this
-
engineVersion
Sets the value ofCfnEnvironmentMixinProps.getEngineVersion()- Parameters:
engineVersion- The version of the runtime engine.- Returns:
this
-
highAvailabilityConfig
@Stability(Stable) public CfnEnvironmentMixinProps.Builder highAvailabilityConfig(IResolvable highAvailabilityConfig) Sets the value ofCfnEnvironmentMixinProps.getHighAvailabilityConfig()- Parameters:
highAvailabilityConfig-
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
Defines the details of a high availability configuration.
- Returns:
this
-
highAvailabilityConfig
@Stability(Stable) public CfnEnvironmentMixinProps.Builder highAvailabilityConfig(CfnEnvironmentPropsMixin.HighAvailabilityConfigProperty highAvailabilityConfig) Sets the value ofCfnEnvironmentMixinProps.getHighAvailabilityConfig()- Parameters:
highAvailabilityConfig-
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
Defines the details of a high availability configuration.
- Returns:
this
-
instanceType
Sets the value ofCfnEnvironmentMixinProps.getInstanceType()- Parameters:
instanceType- The instance type of the runtime environment.- Returns:
this
-
kmsKeyId
Sets the value ofCfnEnvironmentMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The identifier of a customer managed key.- Returns:
this
-
name
Sets the value ofCfnEnvironmentMixinProps.getName()- Parameters:
name- The name of the runtime environment.- Returns:
this
-
networkType
Sets the value ofCfnEnvironmentMixinProps.getNetworkType()- Parameters:
networkType- The network type supported by the runtime environment.- Returns:
this
-
preferredMaintenanceWindow
@Stability(Stable) public CfnEnvironmentMixinProps.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow) Sets the value ofCfnEnvironmentMixinProps.getPreferredMaintenanceWindow()- Parameters:
preferredMaintenanceWindow- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the formatddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. The following two examples are valid maintenance windows:sun:23:45-mon:00:15orsat:01:00-sat:03:00.If you do not provide a value, a random system-generated value will be assigned.
- Returns:
this
-
publiclyAccessible
@Stability(Stable) public CfnEnvironmentMixinProps.Builder publiclyAccessible(Boolean publiclyAccessible) Sets the value ofCfnEnvironmentMixinProps.getPubliclyAccessible()- Parameters:
publiclyAccessible- Specifies whether the runtime environment is publicly accessible.- Returns:
this
-
publiclyAccessible
@Stability(Stable) public CfnEnvironmentMixinProps.Builder publiclyAccessible(IResolvable publiclyAccessible) Sets the value ofCfnEnvironmentMixinProps.getPubliclyAccessible()- Parameters:
publiclyAccessible- Specifies whether the runtime environment is publicly accessible.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnEnvironmentMixinProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnEnvironmentMixinProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The list of security groups for the VPC associated with this runtime environment.- Returns:
this
-
storageConfigurations
@Stability(Stable) public CfnEnvironmentMixinProps.Builder storageConfigurations(IResolvable storageConfigurations) Sets the value ofCfnEnvironmentMixinProps.getStorageConfigurations()- Parameters:
storageConfigurations-
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
Defines the storage configuration for a runtime environment.
- Returns:
this
-
storageConfigurations
@Stability(Stable) public CfnEnvironmentMixinProps.Builder storageConfigurations(List<? extends Object> storageConfigurations) Sets the value ofCfnEnvironmentMixinProps.getStorageConfigurations()- Parameters:
storageConfigurations-
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
Defines the storage configuration for a runtime environment.
- Returns:
this
-
subnetIds
Sets the value ofCfnEnvironmentMixinProps.getSubnetIds()- Parameters:
subnetIds- The list of subnets associated with the VPC for this runtime environment.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentMixinProps>- Returns:
- a new instance of
CfnEnvironmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-