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