Interface CreateComponentTypeRequest.Builder

    • Method Detail

      • workspaceId

        CreateComponentTypeRequest.Builder workspaceId​(String workspaceId)

        The ID of the workspace that contains the component type.

        Parameters:
        workspaceId - The ID of the workspace that contains the component type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isSingleton

        CreateComponentTypeRequest.Builder isSingleton​(Boolean 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentTypeId

        CreateComponentTypeRequest.Builder componentTypeId​(String componentTypeId)

        The ID of the component type.

        Parameters:
        componentTypeId - The ID of the component type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateComponentTypeRequest.Builder description​(String description)

        The description of the component type.

        Parameters:
        description - The description of the component type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • propertyDefinitions

        CreateComponentTypeRequest.Builder propertyDefinitions​(Map<String,​PropertyDefinitionRequest> 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • extendsFrom

        CreateComponentTypeRequest.Builder extendsFrom​(Collection<String> extendsFrom)

        Specifies the parent component type to extend.

        Parameters:
        extendsFrom - Specifies the parent component type to extend.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • extendsFrom

        CreateComponentTypeRequest.Builder extendsFrom​(String... extendsFrom)

        Specifies the parent component type to extend.

        Parameters:
        extendsFrom - Specifies the parent component type to extend.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • functions

        CreateComponentTypeRequest.Builder functions​(Map<String,​FunctionRequest> functions)

        An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.

        Parameters:
        functions - An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateComponentTypeRequest.Builder tags​(Map<String,​String> tags)

        Metadata that you can use to manage the component type.

        Parameters:
        tags - Metadata that you can use to manage the component type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentTypeName

        CreateComponentTypeRequest.Builder componentTypeName​(String componentTypeName)

        A friendly name for the component type.

        Parameters:
        componentTypeName - A friendly name for the component type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • compositeComponentTypes

        CreateComponentTypeRequest.Builder compositeComponentTypes​(Map<String,​CompositeComponentTypeRequest> compositeComponentTypes)

        This is an object that maps strings to compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId.

        Parameters:
        compositeComponentTypes - This is an object that maps strings to compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.