Class CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty>
- Enclosing interface:
CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty
@Stability(Stable)
public static final class CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostAddress(String hostAddress) ipAddressType(String ipAddressType) ipv4AddressesPerEni(Number ipv4AddressesPerEni) portRanges(List<String> portRanges) securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.getSubnetIds()Sets the value ofCfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostAddress
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder hostAddress(String hostAddress) - Parameters:
hostAddress- IP address or DNS name of the target resource.- Returns:
this
-
ipAddressType
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder ipAddressType(String ipAddressType) - Parameters:
ipAddressType- IP address type of the service-managed Resource Gateway.- Returns:
this
-
ipv4AddressesPerEni
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder ipv4AddressesPerEni(Number ipv4AddressesPerEni) Sets the value ofCfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.getIpv4AddressesPerEni()- Parameters:
ipv4AddressesPerEni- Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.- Returns:
this
-
portRanges
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder portRanges(List<String> portRanges) - Parameters:
portRanges- TCP port ranges that a consumer can use to access the resource.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder securityGroupIds(List<String> securityGroupIds) - Parameters:
securityGroupIds- Security groups to attach to the service-managed Resource Gateway.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.getSubnetIds()- Parameters:
subnetIds- Subnets that the service-managed Resource Gateway will span.- Returns:
this
-
vpcId
@Stability(Stable) public CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.Builder vpcId(String vpcId) Sets the value ofCfnPrivateConnectionPropsMixin.ServiceManagedModeProperty.getVpcId()- Parameters:
vpcId- VPC to create the service-managed Resource Gateway in.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty>- Returns:
- a new instance of
CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty - Throws:
NullPointerException- if any required attribute was not provided
-