@Stability(value=Stable) public static final class CfnResourceDefinitionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnResourceDefinitionProps>
CfnResourceDefinitionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResourceDefinitionProps |
build()
Builds the configured instance.
|
CfnResourceDefinitionProps.Builder |
initialVersion(CfnResourceDefinition.ResourceDefinitionVersionProperty initialVersion)
Sets the value of
CfnResourceDefinitionProps.getInitialVersion() |
CfnResourceDefinitionProps.Builder |
initialVersion(IResolvable initialVersion)
Sets the value of
CfnResourceDefinitionProps.getInitialVersion() |
CfnResourceDefinitionProps.Builder |
name(String name)
Sets the value of
CfnResourceDefinitionProps.getName() |
CfnResourceDefinitionProps.Builder |
tags(Object tags)
Sets the value of
CfnResourceDefinitionProps.getTags() |
@Stability(value=Stable) public CfnResourceDefinitionProps.Builder name(String name)
CfnResourceDefinitionProps.getName()name - The name of the resource definition. This parameter is required.this@Stability(value=Stable) public CfnResourceDefinitionProps.Builder initialVersion(IResolvable initialVersion)
CfnResourceDefinitionProps.getInitialVersion()initialVersion - The resource definition version to include when the resource definition is created.
A resource definition version contains a list of resource instance property types.
To associate a resource definition version after the resource definition is created, create an
AWS::Greengrass::ResourceDefinitionVersionresource and specify the ID of this resource definition.
this@Stability(value=Stable) public CfnResourceDefinitionProps.Builder initialVersion(CfnResourceDefinition.ResourceDefinitionVersionProperty initialVersion)
CfnResourceDefinitionProps.getInitialVersion()initialVersion - The resource definition version to include when the resource definition is created.
A resource definition version contains a list of resource instance property types.
To associate a resource definition version after the resource definition is created, create an
AWS::Greengrass::ResourceDefinitionVersionresource and specify the ID of this resource definition.
this@Stability(value=Stable) public CfnResourceDefinitionProps.Builder tags(Object tags)
CfnResourceDefinitionProps.getTags()tags - Application-specific metadata to attach to the resource 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 CfnResourceDefinitionProps build()
build in interface software.amazon.jsii.Builder<CfnResourceDefinitionProps>CfnResourceDefinitionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.