Class CfnCoreDefinitionVersionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnCoreDefinitionVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDefinitionVersionPropsMixin>
- Enclosing class:
CfnCoreDefinitionVersionPropsMixin
@Stability(Stable)
public static final class CfnCoreDefinitionVersionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreDefinitionVersionPropsMixin>
A fluent builder for
CfnCoreDefinitionVersionPropsMixin.-
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.create()create(CfnPropertyMixinOptions options)
-
Method Details
-
create
@Stability(Stable) public static CfnCoreDefinitionVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCoreDefinitionVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCoreDefinitionVersionPropsMixin.Builder.
-
coreDefinitionId
@Stability(Stable) public CfnCoreDefinitionVersionPropsMixin.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
@Stability(Stable) public CfnCoreDefinitionVersionPropsMixin.Builder cores(List<? extends Object> 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<CfnCoreDefinitionVersionPropsMixin>- Returns:
- a newly built instance of
CfnCoreDefinitionVersionPropsMixin.
-