@Stability(value=Stable) public static final class CfnCoreDefinitionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCoreDefinitionProps>
CfnCoreDefinitionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCoreDefinitionProps |
build()
Builds the configured instance.
|
CfnCoreDefinitionProps.Builder |
initialVersion(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion)
Sets the value of
CfnCoreDefinitionProps.getInitialVersion() |
CfnCoreDefinitionProps.Builder |
initialVersion(IResolvable initialVersion)
Sets the value of
CfnCoreDefinitionProps.getInitialVersion() |
CfnCoreDefinitionProps.Builder |
name(String name)
Sets the value of
CfnCoreDefinitionProps.getName() |
CfnCoreDefinitionProps.Builder |
tags(Object tags)
Sets the value of
CfnCoreDefinitionProps.getTags() |
@Stability(value=Stable) public CfnCoreDefinitionProps.Builder name(String name)
CfnCoreDefinitionProps.getName()name - The name of the core definition. This parameter is required.this@Stability(value=Stable) public CfnCoreDefinitionProps.Builder initialVersion(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion)
CfnCoreDefinitionProps.getInitialVersion()initialVersion - The core definition version to include when the core definition is created.
Currently, a core definition version can contain only one core .
To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersionresource and specify the ID of this core definition.
this@Stability(value=Stable) public CfnCoreDefinitionProps.Builder initialVersion(IResolvable initialVersion)
CfnCoreDefinitionProps.getInitialVersion()initialVersion - The core definition version to include when the core definition is created.
Currently, a core definition version can contain only one core .
To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersionresource and specify the ID of this core definition.
this@Stability(value=Stable) public CfnCoreDefinitionProps.Builder tags(Object tags)
CfnCoreDefinitionProps.getTags()tags - Application-specific metadata to attach to the core definition.
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
this@Stability(value=Stable) public CfnCoreDefinitionProps build()
build in interface software.amazon.jsii.Builder<CfnCoreDefinitionProps>CfnCoreDefinitionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.