Class CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty>
- Enclosing interface:
CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty
@Stability(Stable)
public static final class CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironment.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 CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.getSecurityGroups()- Parameters:
securityGroups- the value to be set. This parameter is required.- Returns:
this
-
subnets
@Stability(Stable) public CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty.Builder subnets(List<String> subnets) - Parameters:
subnets- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty>- Returns:
- a new instance of
CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-