Class CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty>
- Enclosing interface:
CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty
@Stability(Stable)
public static final class CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty>
-
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 CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.getSecurityGroups()- Parameters:
securityGroups- The IDs of the security groups associated with the Express service.- Returns:
this
-
subnets
@Stability(Stable) public CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.Builder subnets(List<String> subnets) Sets the value ofCfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty.getSubnets()- Parameters:
subnets- The IDs of the subnets associated with the Express service.- Returns:
this
-
build
@Stability(Stable) public CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty>- Returns:
- a new instance of
CfnExpressGatewayService.ExpressGatewayServiceNetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-