Class CfnProject.DeviceTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot1click.CfnProject.DeviceTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject.DeviceTemplateProperty>
- Enclosing interface:
CfnProject.DeviceTemplateProperty
@Stability(Stable)
public static final class CfnProject.DeviceTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject.DeviceTemplateProperty>
A builder for
CfnProject.DeviceTemplateProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.callbackOverrides
(Object callbackOverrides) Sets the value ofCfnProject.DeviceTemplateProperty.getCallbackOverrides()
deviceType
(String deviceType) Sets the value ofCfnProject.DeviceTemplateProperty.getDeviceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
callbackOverrides
@Stability(Stable) public CfnProject.DeviceTemplateProperty.Builder callbackOverrides(Object callbackOverrides) Sets the value ofCfnProject.DeviceTemplateProperty.getCallbackOverrides()
- Parameters:
callbackOverrides
- the value to be set.- Returns:
this
-
deviceType
Sets the value ofCfnProject.DeviceTemplateProperty.getDeviceType()
- Parameters:
deviceType
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject.DeviceTemplateProperty>
- Returns:
- a new instance of
CfnProject.DeviceTemplateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-