Class CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroups(List<String> securityGroups)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroups
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.getSecurityGroups()- Parameters:
securityGroups- the value to be set.- Returns:
this
-
subnets
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.Builder subnets(List<String> subnets) Sets the value ofCfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty.getSubnets()- Parameters:
subnets- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.ManagedInstancesNetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-