Class CfnGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayProps>
- Enclosing interface:
CfnGatewayProps
@Stability(Stable)
public static final class CfnGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayProps>
A builder for
CfnGatewayProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gatewayCapabilitySummaries
(List<? extends Object> gatewayCapabilitySummaries) Sets the value ofCfnGatewayProps.getGatewayCapabilitySummaries()
gatewayCapabilitySummaries
(IResolvable gatewayCapabilitySummaries) Sets the value ofCfnGatewayProps.getGatewayCapabilitySummaries()
gatewayName
(String gatewayName) Sets the value ofCfnGatewayProps.getGatewayName()
gatewayPlatform
(IResolvable gatewayPlatform) Sets the value ofCfnGatewayProps.getGatewayPlatform()
gatewayPlatform
(CfnGateway.GatewayPlatformProperty gatewayPlatform) Sets the value ofCfnGatewayProps.getGatewayPlatform()
Sets the value ofCfnGatewayProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayName
Sets the value ofCfnGatewayProps.getGatewayName()
- Parameters:
gatewayName
- A unique name for the gateway. This parameter is required.- Returns:
this
-
gatewayPlatform
Sets the value ofCfnGatewayProps.getGatewayPlatform()
- Parameters:
gatewayPlatform
- The gateway's platform. This parameter is required. You can only specify one platform in a gateway.- Returns:
this
-
gatewayPlatform
@Stability(Stable) public CfnGatewayProps.Builder gatewayPlatform(CfnGateway.GatewayPlatformProperty gatewayPlatform) Sets the value ofCfnGatewayProps.getGatewayPlatform()
- Parameters:
gatewayPlatform
- The gateway's platform. This parameter is required. You can only specify one platform in a gateway.- Returns:
this
-
gatewayCapabilitySummaries
@Stability(Stable) public CfnGatewayProps.Builder gatewayCapabilitySummaries(IResolvable gatewayCapabilitySummaries) Sets the value ofCfnGatewayProps.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 CfnGatewayProps.Builder gatewayCapabilitySummaries(List<? extends Object> gatewayCapabilitySummaries) Sets the value ofCfnGatewayProps.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
-
tags
Sets the value ofCfnGatewayProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayProps>
- Returns:
- a new instance of
CfnGatewayProps
- Throws:
NullPointerException
- if any required attribute was not provided
-