Class CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCConnectionPropsMixin.NetworkInterfaceProperty>
- Enclosing interface:
CfnVPCConnectionPropsMixin.NetworkInterfaceProperty
@Stability(Stable)
public static final class CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCConnectionPropsMixin.NetworkInterfaceProperty>
A builder for
CfnVPCConnectionPropsMixin.NetworkInterfaceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) build()Builds the configured instance.errorMessage(String errorMessage) Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getErrorMessage()networkInterfaceId(String networkInterfaceId) Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getStatus()Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Stable) public CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder availabilityZone(String availabilityZone) - Parameters:
availabilityZone- The availability zone that the network interface resides in.- Returns:
this
-
errorMessage
@Stability(Stable) public CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder errorMessage(String errorMessage) Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getErrorMessage()- Parameters:
errorMessage- An error message.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder networkInterfaceId(String networkInterfaceId) - Parameters:
networkInterfaceId- The network interface ID.- Returns:
this
-
status
@Stability(Stable) public CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder status(String status) Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getStatus()- Parameters:
status- The status of the network interface.- Returns:
this
-
subnetId
@Stability(Stable) public CfnVPCConnectionPropsMixin.NetworkInterfaceProperty.Builder subnetId(String subnetId) Sets the value ofCfnVPCConnectionPropsMixin.NetworkInterfaceProperty.getSubnetId()- Parameters:
subnetId- The subnet ID associated with the network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCConnectionPropsMixin.NetworkInterfaceProperty>- Returns:
- a new instance of
CfnVPCConnectionPropsMixin.NetworkInterfaceProperty - Throws:
NullPointerException- if any required attribute was not provided
-