Class CfnComponentType.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentType>
- Enclosing class:
CfnComponentType
CfnComponentType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
componentTypeId
(String componentTypeId) The ID of the component type.compositeComponentTypes
(Map<String, ? extends Object> compositeComponentTypes) Maps strings tocompositeComponentTypes
of thecomponentType
.compositeComponentTypes
(IResolvable compositeComponentTypes) Maps strings tocompositeComponentTypes
of thecomponentType
.static CfnComponentType.Builder
description
(String description) The description of the component type.extendsFrom
(List<String> extendsFrom) The name of the parent component type that this component type extends.An object that maps strings to the functions in the component type.functions
(IResolvable functions) An object that maps strings to the functions in the component type.isSingleton
(Boolean isSingleton) A boolean value that specifies whether an entity can have more than one component of this type.isSingleton
(IResolvable isSingleton) A boolean value that specifies whether an entity can have more than one component of this type.propertyDefinitions
(Map<String, ? extends Object> propertyDefinitions) An object that maps strings to the property definitions in the component type.propertyDefinitions
(IResolvable propertyDefinitions) An object that maps strings to the property definitions in the component type.propertyGroups
(Map<String, ? extends Object> propertyGroups) An object that maps strings to the property groups in the component type.propertyGroups
(IResolvable propertyGroups) An object that maps strings to the property groups in the component type.The ComponentType tags.workspaceId
(String workspaceId) The ID of the workspace that contains the component type.
-
Method Details
-
create
@Stability(Stable) public static CfnComponentType.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
CfnComponentType.Builder
.
-
componentTypeId
The ID of the component type.- Parameters:
componentTypeId
- The ID of the component type. This parameter is required.- Returns:
this
- See Also:
-
workspaceId
The ID of the workspace that contains the component type.- Parameters:
workspaceId
- The ID of the workspace that contains the component type. This parameter is required.- Returns:
this
- See Also:
-
compositeComponentTypes
@Stability(Stable) public CfnComponentType.Builder compositeComponentTypes(IResolvable compositeComponentTypes) Maps strings tocompositeComponentTypes
of thecomponentType
.CompositeComponentType
is referenced bycomponentTypeId
.- Parameters:
compositeComponentTypes
- Maps strings tocompositeComponentTypes
of thecomponentType
. This parameter is required.- Returns:
this
- See Also:
-
compositeComponentTypes
@Stability(Stable) public CfnComponentType.Builder compositeComponentTypes(Map<String, ? extends Object> compositeComponentTypes) Maps strings tocompositeComponentTypes
of thecomponentType
.CompositeComponentType
is referenced bycomponentTypeId
.- Parameters:
compositeComponentTypes
- Maps strings tocompositeComponentTypes
of thecomponentType
. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the component type.- Parameters:
description
- The description of the component type. This parameter is required.- Returns:
this
- See Also:
-
extendsFrom
The name of the parent component type that this component type extends.- Parameters:
extendsFrom
- The name of the parent component type that this component type extends. This parameter is required.- Returns:
this
- See Also:
-
functions
An object that maps strings to the functions in the component type.Each string in the mapping must be unique to this object.
For information on the FunctionResponse object see the FunctionResponse API reference.
- Parameters:
functions
- An object that maps strings to the functions in the component type. This parameter is required.- Returns:
this
- See Also:
-
functions
@Stability(Stable) public CfnComponentType.Builder functions(Map<String, ? extends Object> functions) An object that maps strings to the functions in the component type.Each string in the mapping must be unique to this object.
For information on the FunctionResponse object see the FunctionResponse API reference.
- Parameters:
functions
- An object that maps strings to the functions in the component type. This parameter is required.- Returns:
this
- See Also:
-
isSingleton
A boolean value that specifies whether an entity can have more than one component of this type.- Parameters:
isSingleton
- A boolean value that specifies whether an entity can have more than one component of this type. This parameter is required.- Returns:
this
- See Also:
-
isSingleton
A boolean value that specifies whether an entity can have more than one component of this type.- Parameters:
isSingleton
- A boolean value that specifies whether an entity can have more than one component of this type. This parameter is required.- Returns:
this
- See Also:
-
propertyDefinitions
@Stability(Stable) public CfnComponentType.Builder propertyDefinitions(IResolvable propertyDefinitions) An object that maps strings to the property definitions in the component type.Each string in the mapping must be unique to this object.
For information about the PropertyDefinitionResponse object, see the PropertyDefinitionResponse API reference.
- Parameters:
propertyDefinitions
- An object that maps strings to the property definitions in the component type. This parameter is required.- Returns:
this
- See Also:
-
propertyDefinitions
@Stability(Stable) public CfnComponentType.Builder propertyDefinitions(Map<String, ? extends Object> propertyDefinitions) An object that maps strings to the property definitions in the component type.Each string in the mapping must be unique to this object.
For information about the PropertyDefinitionResponse object, see the PropertyDefinitionResponse API reference.
- Parameters:
propertyDefinitions
- An object that maps strings to the property definitions in the component type. This parameter is required.- Returns:
this
- See Also:
-
propertyGroups
An object that maps strings to the property groups in the component type.Each string in the mapping must be unique to this object.
- Parameters:
propertyGroups
- An object that maps strings to the property groups in the component type. This parameter is required.- Returns:
this
- See Also:
-
propertyGroups
@Stability(Stable) public CfnComponentType.Builder propertyGroups(Map<String, ? extends Object> propertyGroups) An object that maps strings to the property groups in the component type.Each string in the mapping must be unique to this object.
- Parameters:
propertyGroups
- An object that maps strings to the property groups in the component type. This parameter is required.- Returns:
this
- See Also:
-
tags
The ComponentType tags.- Parameters:
tags
- The ComponentType tags. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponentType>
- Returns:
- a newly built instance of
CfnComponentType
.
-