@Stability(value=Stable) public static final class CfnDeviceDefinitionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDeviceDefinitionProps>
CfnDeviceDefinitionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDeviceDefinitionProps |
build()
Builds the configured instance.
|
CfnDeviceDefinitionProps.Builder |
initialVersion(CfnDeviceDefinition.DeviceDefinitionVersionProperty initialVersion)
Sets the value of
CfnDeviceDefinitionProps.getInitialVersion() |
CfnDeviceDefinitionProps.Builder |
initialVersion(IResolvable initialVersion)
Sets the value of
CfnDeviceDefinitionProps.getInitialVersion() |
CfnDeviceDefinitionProps.Builder |
name(String name)
Sets the value of
CfnDeviceDefinitionProps.getName() |
CfnDeviceDefinitionProps.Builder |
tags(Object tags)
Sets the value of
CfnDeviceDefinitionProps.getTags() |
@Stability(value=Stable) public CfnDeviceDefinitionProps.Builder name(String name)
CfnDeviceDefinitionProps.getName()name - The name of the device definition. This parameter is required.this@Stability(value=Stable) public CfnDeviceDefinitionProps.Builder initialVersion(CfnDeviceDefinition.DeviceDefinitionVersionProperty initialVersion)
CfnDeviceDefinitionProps.getInitialVersion()initialVersion - The device definition version to include when the device definition is created.
A device definition version contains a list of device property types.
To associate a device definition version after the device definition is created, create an
AWS::Greengrass::DeviceDefinitionVersionresource and specify the ID of this device definition.
this@Stability(value=Stable) public CfnDeviceDefinitionProps.Builder initialVersion(IResolvable initialVersion)
CfnDeviceDefinitionProps.getInitialVersion()initialVersion - The device definition version to include when the device definition is created.
A device definition version contains a list of device property types.
To associate a device definition version after the device definition is created, create an
AWS::Greengrass::DeviceDefinitionVersionresource and specify the ID of this device definition.
this@Stability(value=Stable) public CfnDeviceDefinitionProps.Builder tags(Object tags)
CfnDeviceDefinitionProps.getTags()tags - Application-specific metadata to attach to the device definition.
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
this@Stability(value=Stable) public CfnDeviceDefinitionProps build()
build in interface software.amazon.jsii.Builder<CfnDeviceDefinitionProps>CfnDeviceDefinitionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.