Class CfnCoreDeviceProps.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnCoreDeviceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDeviceProps>
- Enclosing interface:
CfnCoreDeviceProps
@Stability(Stable)
public static final class CfnCoreDeviceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreDeviceProps>
A builder for
CfnCoreDeviceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreDeviceThingName(String coreDeviceThingName) Sets the value ofCfnCoreDeviceProps.getCoreDeviceThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreDeviceThingName
@Stability(Stable) public CfnCoreDeviceProps.Builder coreDeviceThingName(String coreDeviceThingName) Sets the value ofCfnCoreDeviceProps.getCoreDeviceThingName()- Parameters:
coreDeviceThingName- The name of the core device. This is also the name of the IoT thing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCoreDeviceProps>- Returns:
- a new instance of
CfnCoreDeviceProps - Throws:
NullPointerException- if any required attribute was not provided
-