Class CfnHost.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codeconnections.CfnHost.VpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHost.VpcConfigurationProperty>
- Enclosing interface:
CfnHost.VpcConfigurationProperty
@Stability(Stable)
public static final class CfnHost.VpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHost.VpcConfigurationProperty>
A builder for
CfnHost.VpcConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnHost.VpcConfigurationProperty.getSecurityGroupIds()Sets the value ofCfnHost.VpcConfigurationProperty.getSubnetIds()tlsCertificate(String tlsCertificate) Sets the value ofCfnHost.VpcConfigurationProperty.getTlsCertificate()Sets the value ofCfnHost.VpcConfigurationProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnHost.VpcConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnHost.VpcConfigurationProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The ID of the security group or security groups associated with the Amazon VPC. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnHost.VpcConfigurationProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnHost.VpcConfigurationProperty.getSubnetIds()- Parameters:
subnetIds- The ID of the subnet or subnets associated with the Amazon VPC. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnHost.VpcConfigurationProperty.getVpcId()- Parameters:
vpcId- The ID of the Amazon VPC connected to the infrastructure where your provider type is installed. This parameter is required.- Returns:
this
-
tlsCertificate
@Stability(Stable) public CfnHost.VpcConfigurationProperty.Builder tlsCertificate(String tlsCertificate) Sets the value ofCfnHost.VpcConfigurationProperty.getTlsCertificate()- Parameters:
tlsCertificate- The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHost.VpcConfigurationProperty>- Returns:
- a new instance of
CfnHost.VpcConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-