public static final class CfnCoreDefinition.CoreProperty.Builder
extends java.lang.Object
CfnCoreDefinition.CoreProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCoreDefinition.CoreProperty |
build()
Builds the configured instance.
|
CfnCoreDefinition.CoreProperty.Builder |
certificateArn(java.lang.String certificateArn)
Sets the value of
CfnCoreDefinition.CoreProperty.getCertificateArn() |
CfnCoreDefinition.CoreProperty.Builder |
id(java.lang.String id)
Sets the value of
CfnCoreDefinition.CoreProperty.getId() |
CfnCoreDefinition.CoreProperty.Builder |
syncShadow(java.lang.Boolean syncShadow)
Sets the value of
CfnCoreDefinition.CoreProperty.getSyncShadow() |
CfnCoreDefinition.CoreProperty.Builder |
syncShadow(IResolvable syncShadow)
Sets the value of
CfnCoreDefinition.CoreProperty.getSyncShadow() |
CfnCoreDefinition.CoreProperty.Builder |
thingArn(java.lang.String thingArn)
Sets the value of
CfnCoreDefinition.CoreProperty.getThingArn() |
public CfnCoreDefinition.CoreProperty.Builder certificateArn(java.lang.String certificateArn)
CfnCoreDefinition.CoreProperty.getCertificateArn()
certificateArn
- The Amazon Resource Name (ARN) of the device certificate for the core. This parameter is required.
This X.509 certificate is used to authenticate the core with AWS IoT and AWS IoT Greengrass services.this
public CfnCoreDefinition.CoreProperty.Builder id(java.lang.String id)
CfnCoreDefinition.CoreProperty.getId()
id
- A descriptive or arbitrary ID for the core. This parameter is required.
This value must be unique within the core definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+
.this
public CfnCoreDefinition.CoreProperty.Builder thingArn(java.lang.String thingArn)
CfnCoreDefinition.CoreProperty.getThingArn()
thingArn
- The ARN of the core, which is an AWS IoT device (thing). This parameter is required.this
public CfnCoreDefinition.CoreProperty.Builder syncShadow(java.lang.Boolean syncShadow)
CfnCoreDefinition.CoreProperty.getSyncShadow()
syncShadow
- Indicates whether the core's local shadow is synced with the cloud automatically.
The default is false.this
public CfnCoreDefinition.CoreProperty.Builder syncShadow(IResolvable syncShadow)
CfnCoreDefinition.CoreProperty.getSyncShadow()
syncShadow
- Indicates whether the core's local shadow is synced with the cloud automatically.
The default is false.this
public CfnCoreDefinition.CoreProperty build()
CfnCoreDefinition.CoreProperty
java.lang.NullPointerException
- if any required attribute was not provided