Class CfnTunnel.DestinationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsecuretunneling.CfnTunnel.DestinationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTunnel.DestinationConfigProperty>
- Enclosing interface:
CfnTunnel.DestinationConfigProperty
@Stability(Stable)
public static final class CfnTunnel.DestinationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTunnel.DestinationConfigProperty>
A builder for
CfnTunnel.DestinationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTunnel.DestinationConfigProperty.getServices()Sets the value ofCfnTunnel.DestinationConfigProperty.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
services
@Stability(Stable) public CfnTunnel.DestinationConfigProperty.Builder services(List<String> services) Sets the value ofCfnTunnel.DestinationConfigProperty.getServices()- Parameters:
services- A list of service names that identify the target application. This parameter is required.- Returns:
this
-
thingName
Sets the value ofCfnTunnel.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<CfnTunnel.DestinationConfigProperty>- Returns:
- a new instance of
CfnTunnel.DestinationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-