Class CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkInterfaceId(String networkInterfaceId) portRanges(List<? extends Object> portRanges) portRanges(IResolvable portRanges)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInterfaceId
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.getNetworkInterfaceId()- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
this
-
port
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder port(Number port) - Parameters:
port- The IP port number.- Returns:
this
-
portRanges
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder portRanges(IResolvable portRanges) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.getPortRanges()- Parameters:
portRanges- The port ranges.- Returns:
this
-
portRanges
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder portRanges(List<? extends Object> portRanges) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.getPortRanges()- Parameters:
portRanges- The port ranges.- Returns:
this
-
protocol
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty.Builder protocol(String protocol) - Parameters:
protocol- The IP protocol.- Returns:
this
-
build
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty>- Returns:
- a new instance of
CfnVerifiedAccessEndpointPropsMixin.NetworkInterfaceOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-