Class CfnCoreDefinition.CoreProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnCoreDefinition.CoreProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnCoreDefinition.CoreProperty>
- Enclosing interface:
- CfnCoreDefinition.CoreProperty
@Stability(Stable)
public static final class CfnCoreDefinition.CoreProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreDefinition.CoreProperty>
A builder for 
CfnCoreDefinition.CoreProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnCoreDefinition.CoreProperty.getCertificateArn()Sets the value ofCfnCoreDefinition.CoreProperty.getId()syncShadow(Boolean syncShadow) Sets the value ofCfnCoreDefinition.CoreProperty.getSyncShadow()syncShadow(IResolvable syncShadow) Sets the value ofCfnCoreDefinition.CoreProperty.getSyncShadow()Sets the value ofCfnCoreDefinition.CoreProperty.getThingArn()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
certificateArn@Stability(Stable) public CfnCoreDefinition.CoreProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnCoreDefinition.CoreProperty.getCertificateArn()- Parameters:
- 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.
- Returns:
- this
 
- 
idSets the value ofCfnCoreDefinition.CoreProperty.getId()- Parameters:
- 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:_-]+.
- Returns:
- this
 
- 
thingArnSets the value ofCfnCoreDefinition.CoreProperty.getThingArn()- Parameters:
- thingArn- The ARN of the core, which is an AWS IoT device (thing). This parameter is required.
- Returns:
- this
 
- 
syncShadowSets the value ofCfnCoreDefinition.CoreProperty.getSyncShadow()- Parameters:
- syncShadow- Indicates whether the core's local shadow is synced with the cloud automatically. The default is false.
- Returns:
- this
 
- 
syncShadowSets the value ofCfnCoreDefinition.CoreProperty.getSyncShadow()- Parameters:
- syncShadow- Indicates whether the core's local shadow is synced with the cloud automatically. The default is false.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCoreDefinition.CoreProperty>
- Returns:
- a new instance of CfnCoreDefinition.CoreProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-