Class CfnCoreDefinitionVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnCoreDefinitionVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDefinitionVersionMixinProps>
- Enclosing interface:
CfnCoreDefinitionVersionMixinProps
@Stability(Stable)
public static final class CfnCoreDefinitionVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreDefinitionVersionMixinProps>
A builder for
CfnCoreDefinitionVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreDefinitionId(String coreDefinitionId) Sets the value ofCfnCoreDefinitionVersionMixinProps.getCoreDefinitionId()Sets the value ofCfnCoreDefinitionVersionMixinProps.getCores()cores(IResolvable cores) Sets the value ofCfnCoreDefinitionVersionMixinProps.getCores()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreDefinitionId
@Stability(Stable) public CfnCoreDefinitionVersionMixinProps.Builder coreDefinitionId(String coreDefinitionId) Sets the value ofCfnCoreDefinitionVersionMixinProps.getCoreDefinitionId()- Parameters:
coreDefinitionId- The ID of the core definition associated with this version. This value is a GUID.- Returns:
this
-
cores
Sets the value ofCfnCoreDefinitionVersionMixinProps.getCores()- Parameters:
cores- The Greengrass core in this version. Currently, theCoresproperty for a core definition version can contain only one core.- Returns:
this
-
cores
@Stability(Stable) public CfnCoreDefinitionVersionMixinProps.Builder cores(List<? extends Object> cores) Sets the value ofCfnCoreDefinitionVersionMixinProps.getCores()- Parameters:
cores- The Greengrass core in this version. Currently, theCoresproperty for a core definition version can contain only one core.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCoreDefinitionVersionMixinProps>- Returns:
- a new instance of
CfnCoreDefinitionVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-