public static final class CfnServerlessCluster.VpcConfigProperty.Builder
extends java.lang.Object
CfnServerlessCluster.VpcConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnServerlessCluster.VpcConfigProperty |
build()
Builds the configured instance.
|
CfnServerlessCluster.VpcConfigProperty.Builder |
securityGroups(java.util.List<java.lang.String> securityGroups)
Sets the value of
CfnServerlessCluster.VpcConfigProperty.getSecurityGroups() |
CfnServerlessCluster.VpcConfigProperty.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnServerlessCluster.VpcConfigProperty.getSubnetIds() |
public CfnServerlessCluster.VpcConfigProperty.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnServerlessCluster.VpcConfigProperty.getSubnetIds()
subnetIds
- A list of subnets in at least two different Availability Zones that host your client applications. This parameter is required.
We recommend that you specify a backup subnet in a different Availability Zone for failover in case of an outage.this
public CfnServerlessCluster.VpcConfigProperty.Builder securityGroups(java.util.List<java.lang.String> securityGroups)
CfnServerlessCluster.VpcConfigProperty.getSecurityGroups()
securityGroups
- Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.this
public CfnServerlessCluster.VpcConfigProperty build()
CfnServerlessCluster.VpcConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided