Class CfnTunnelProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsecuretunneling.CfnTunnelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTunnelProps>
- Enclosing interface:
CfnTunnelProps
@Stability(Stable)
public static final class CfnTunnelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTunnelProps>
A builder for
CfnTunnelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTunnelProps.getDescription()destinationConfig(IResolvable destinationConfig) Sets the value ofCfnTunnelProps.getDestinationConfig()destinationConfig(CfnTunnel.DestinationConfigProperty destinationConfig) Sets the value ofCfnTunnelProps.getDestinationConfig()Sets the value ofCfnTunnelProps.getTags()timeoutConfig(IResolvable timeoutConfig) Sets the value ofCfnTunnelProps.getTimeoutConfig()timeoutConfig(CfnTunnel.TimeoutConfigProperty timeoutConfig) Sets the value ofCfnTunnelProps.getTimeoutConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTunnelProps.getDescription()- Parameters:
description- A short text description of the tunnel.- Returns:
this
-
destinationConfig
Sets the value ofCfnTunnelProps.getDestinationConfig()- Parameters:
destinationConfig- The destination configuration.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnTunnelProps.Builder destinationConfig(CfnTunnel.DestinationConfigProperty destinationConfig) Sets the value ofCfnTunnelProps.getDestinationConfig()- Parameters:
destinationConfig- The destination configuration.- Returns:
this
-
tags
Sets the value ofCfnTunnelProps.getTags()- Parameters:
tags- A collection of tag metadata.- Returns:
this
-
timeoutConfig
Sets the value ofCfnTunnelProps.getTimeoutConfig()- Parameters:
timeoutConfig- Tunnel timeout configuration.- Returns:
this
-
timeoutConfig
@Stability(Stable) public CfnTunnelProps.Builder timeoutConfig(CfnTunnel.TimeoutConfigProperty timeoutConfig) Sets the value ofCfnTunnelProps.getTimeoutConfig()- Parameters:
timeoutConfig- Tunnel timeout configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTunnelProps>- Returns:
- a new instance of
CfnTunnelProps - Throws:
NullPointerException- if any required attribute was not provided
-