public static final class CfnComponentTypeProps.Builder
extends java.lang.Object
CfnComponentTypeProps
Constructor and Description |
---|
Builder() |
public CfnComponentTypeProps.Builder componentTypeId(java.lang.String componentTypeId)
CfnComponentTypeProps.getComponentTypeId()
componentTypeId
- The ID of the component type. This parameter is required.this
public CfnComponentTypeProps.Builder workspaceId(java.lang.String workspaceId)
CfnComponentTypeProps.getWorkspaceId()
workspaceId
- The ID of the workspace. This parameter is required.this
public CfnComponentTypeProps.Builder description(java.lang.String description)
CfnComponentTypeProps.getDescription()
description
- The description of the component type.this
public CfnComponentTypeProps.Builder extendsFrom(java.util.List<java.lang.String> extendsFrom)
CfnComponentTypeProps.getExtendsFrom()
extendsFrom
- The name of the parent component type that this component type extends.this
public CfnComponentTypeProps.Builder functions(java.util.Map<java.lang.String,? extends java.lang.Object> functions)
CfnComponentTypeProps.getFunctions()
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.
this
public CfnComponentTypeProps.Builder functions(IResolvable functions)
CfnComponentTypeProps.getFunctions()
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.
this
public CfnComponentTypeProps.Builder isSingleton(java.lang.Boolean isSingleton)
CfnComponentTypeProps.getIsSingleton()
isSingleton
- A boolean value that specifies whether an entity can have more than one component of this type.this
public CfnComponentTypeProps.Builder isSingleton(IResolvable isSingleton)
CfnComponentTypeProps.getIsSingleton()
isSingleton
- A boolean value that specifies whether an entity can have more than one component of this type.this
public CfnComponentTypeProps.Builder propertyDefinitions(IResolvable propertyDefinitions)
CfnComponentTypeProps.getPropertyDefinitions()
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.
this
public CfnComponentTypeProps.Builder propertyDefinitions(java.util.Map<java.lang.String,? extends java.lang.Object> propertyDefinitions)
CfnComponentTypeProps.getPropertyDefinitions()
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.
this
public CfnComponentTypeProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
CfnComponentTypeProps.getTags()
tags
- The ComponentType tags.this
public CfnComponentTypeProps build()
CfnComponentTypeProps
java.lang.NullPointerException
- if any required attribute was not provided