Class CfnEndpoint.NetworkInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnEndpoint.NetworkInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.NetworkInterfaceProperty>
- Enclosing interface:
CfnEndpoint.NetworkInterfaceProperty
@Stability(Stable)
public static final class CfnEndpoint.NetworkInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.NetworkInterfaceProperty>
A builder for
CfnEndpoint.NetworkInterfaceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.networkInterfaceId
(String networkInterfaceId) Sets the value ofCfnEndpoint.NetworkInterfaceProperty.getNetworkInterfaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInterfaceId
@Stability(Stable) public CfnEndpoint.NetworkInterfaceProperty.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnEndpoint.NetworkInterfaceProperty.getNetworkInterfaceId()
- Parameters:
networkInterfaceId
- The ID for the network interface. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpoint.NetworkInterfaceProperty>
- Returns:
- a new instance of
CfnEndpoint.NetworkInterfaceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-