Class CfnAppBlockBuilder.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnAppBlockBuilder.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppBlockBuilder.VpcConfigProperty>
- Enclosing interface:
CfnAppBlockBuilder.VpcConfigProperty
@Stability(Stable)
public static final class CfnAppBlockBuilder.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppBlockBuilder.VpcConfigProperty>
A builder for
CfnAppBlockBuilder.VpcConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnAppBlockBuilder.VpcConfigProperty.getSecurityGroupIds()
Sets the value ofCfnAppBlockBuilder.VpcConfigProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnAppBlockBuilder.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnAppBlockBuilder.VpcConfigProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The identifiers of the security groups for the fleet or image builder.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnAppBlockBuilder.VpcConfigProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnAppBlockBuilder.VpcConfigProperty.getSubnetIds()
- Parameters:
subnetIds
- The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAppBlockBuilder.VpcConfigProperty>
- Returns:
- a new instance of
CfnAppBlockBuilder.VpcConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-