Class CfnGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotsitewise.mixins.CfnGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayMixinProps>
- Enclosing interface:
CfnGatewayMixinProps
@Stability(Stable)
public static final class CfnGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayMixinProps>
A builder for
CfnGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gatewayCapabilitySummaries(List<? extends Object> gatewayCapabilitySummaries) Sets the value ofCfnGatewayMixinProps.getGatewayCapabilitySummaries()gatewayCapabilitySummaries(IResolvable gatewayCapabilitySummaries) Sets the value ofCfnGatewayMixinProps.getGatewayCapabilitySummaries()gatewayName(String gatewayName) Sets the value ofCfnGatewayMixinProps.getGatewayName()gatewayPlatform(IResolvable gatewayPlatform) Sets the value ofCfnGatewayMixinProps.getGatewayPlatform()gatewayPlatform(CfnGatewayPropsMixin.GatewayPlatformProperty gatewayPlatform) Sets the value ofCfnGatewayMixinProps.getGatewayPlatform()gatewayVersion(String gatewayVersion) Sets the value ofCfnGatewayMixinProps.getGatewayVersion()Sets the value ofCfnGatewayMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayCapabilitySummaries
@Stability(Stable) public CfnGatewayMixinProps.Builder gatewayCapabilitySummaries(IResolvable gatewayCapabilitySummaries) Sets the value ofCfnGatewayMixinProps.getGatewayCapabilitySummaries()- Parameters:
gatewayCapabilitySummaries- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration .- Returns:
this
-
gatewayCapabilitySummaries
@Stability(Stable) public CfnGatewayMixinProps.Builder gatewayCapabilitySummaries(List<? extends Object> gatewayCapabilitySummaries) Sets the value ofCfnGatewayMixinProps.getGatewayCapabilitySummaries()- Parameters:
gatewayCapabilitySummaries- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration .- Returns:
this
-
gatewayName
Sets the value ofCfnGatewayMixinProps.getGatewayName()- Parameters:
gatewayName- A unique name for the gateway.- Returns:
this
-
gatewayPlatform
Sets the value ofCfnGatewayMixinProps.getGatewayPlatform()- Parameters:
gatewayPlatform- The gateway's platform. You can only specify one platform in a gateway.- Returns:
this
-
gatewayPlatform
@Stability(Stable) public CfnGatewayMixinProps.Builder gatewayPlatform(CfnGatewayPropsMixin.GatewayPlatformProperty gatewayPlatform) Sets the value ofCfnGatewayMixinProps.getGatewayPlatform()- Parameters:
gatewayPlatform- The gateway's platform. You can only specify one platform in a gateway.- Returns:
this
-
gatewayVersion
Sets the value ofCfnGatewayMixinProps.getGatewayVersion()- Parameters:
gatewayVersion- The version of the gateway. A value of3indicates an MQTT-enabled, V3 gateway, while2indicates a Classic streams, V2 gateway.- Returns:
this
-
tags
Sets the value ofCfnGatewayMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayMixinProps>- Returns:
- a new instance of
CfnGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-