Class CfnCoreDefinitionVersion.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnCoreDefinitionVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDefinitionVersion>
- Enclosing class:
CfnCoreDefinitionVersion
@Stability(Stable)
public static final class CfnCoreDefinitionVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreDefinitionVersion>
A fluent builder for
CfnCoreDefinitionVersion.-
Method Summary
Modifier and TypeMethodDescriptionbuild()coreDefinitionId(String coreDefinitionId) The ID of the core definition associated with this version.The Greengrass core in this version.cores(IResolvable cores) The Greengrass core in this version.
-
Method Details
-
create
@Stability(Stable) public static CfnCoreDefinitionVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCoreDefinitionVersion.Builder.
-
coreDefinitionId
@Stability(Stable) public CfnCoreDefinitionVersion.Builder coreDefinitionId(String coreDefinitionId) The ID of the core definition associated with this version.This value is a GUID.
- Parameters:
coreDefinitionId- The ID of the core definition associated with this version. This parameter is required.- Returns:
this- See Also:
-
cores
The Greengrass core in this version.Currently, the
Coresproperty for a core definition version can contain only one core.- Parameters:
cores- The Greengrass core in this version. This parameter is required.- Returns:
this- See Also:
-
cores
The Greengrass core in this version.Currently, the
Coresproperty for a core definition version can contain only one core.- Parameters:
cores- The Greengrass core in this version. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCoreDefinitionVersion>- Returns:
- a newly built instance of
CfnCoreDefinitionVersion.
-