Class CfnTunnelPropsMixin.DestinationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsecuretunneling.CfnTunnelPropsMixin.DestinationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTunnelPropsMixin.DestinationConfigProperty>
- Enclosing interface:
CfnTunnelPropsMixin.DestinationConfigProperty
@Stability(Stable)
public static final class CfnTunnelPropsMixin.DestinationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTunnelPropsMixin.DestinationConfigProperty>
A builder for
CfnTunnelPropsMixin.DestinationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTunnelPropsMixin.DestinationConfigProperty.getServices()Sets the value ofCfnTunnelPropsMixin.DestinationConfigProperty.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
services
@Stability(Stable) public CfnTunnelPropsMixin.DestinationConfigProperty.Builder services(List<String> services) Sets the value ofCfnTunnelPropsMixin.DestinationConfigProperty.getServices()- Parameters:
services- A list of service names that identify the target application.- Returns:
this
-
thingName
@Stability(Stable) public CfnTunnelPropsMixin.DestinationConfigProperty.Builder thingName(String thingName) Sets the value ofCfnTunnelPropsMixin.DestinationConfigProperty.getThingName()- Parameters:
thingName- The name of the IoT thing to which you want to connect.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTunnelPropsMixin.DestinationConfigProperty>- Returns:
- a new instance of
CfnTunnelPropsMixin.DestinationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-