Class CfnApplication.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.NetworkConfigurationProperty>
- Enclosing interface:
CfnApplication.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.NetworkConfigurationProperty>
A builder for
CfnApplication.NetworkConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnApplication.NetworkConfigurationProperty.getSecurityGroupIds()
Sets the value ofCfnApplication.NetworkConfigurationProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnApplication.NetworkConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnApplication.NetworkConfigurationProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The array of security group Ids for customer VPC connectivity. Minimum : 1Maximum : 32
Pattern :
^[-0-9a-zA-Z]+
- Returns:
this
-
subnetIds
@Stability(Stable) public CfnApplication.NetworkConfigurationProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnApplication.NetworkConfigurationProperty.getSubnetIds()
- Parameters:
subnetIds
- The array of subnet Ids for customer VPC connectivity. Minimum : 1Maximum : 32
Pattern :
^[-0-9a-zA-Z]+
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.NetworkConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.NetworkConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-