public static final class CfnCanary.VPCConfigProperty.Builder
extends java.lang.Object
CfnCanary.VPCConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCanary.VPCConfigProperty |
build()
Builds the configured instance.
|
CfnCanary.VPCConfigProperty.Builder |
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
Sets the value of
CfnCanary.VPCConfigProperty.getSecurityGroupIds() |
CfnCanary.VPCConfigProperty.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnCanary.VPCConfigProperty.getSubnetIds() |
CfnCanary.VPCConfigProperty.Builder |
vpcId(java.lang.String vpcId)
Sets the value of
CfnCanary.VPCConfigProperty.getVpcId() |
public CfnCanary.VPCConfigProperty.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
CfnCanary.VPCConfigProperty.getSecurityGroupIds()
securityGroupIds
- The IDs of the security groups for this canary. This parameter is required.this
public CfnCanary.VPCConfigProperty.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnCanary.VPCConfigProperty.getSubnetIds()
subnetIds
- The IDs of the subnets where this canary is to run. This parameter is required.this
public CfnCanary.VPCConfigProperty.Builder vpcId(java.lang.String vpcId)
CfnCanary.VPCConfigProperty.getVpcId()
vpcId
- The ID of the VPC where this canary is to run.this
public CfnCanary.VPCConfigProperty build()
CfnCanary.VPCConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided