Interface UpdateComponentTypeRequest.Builder

    • Method Detail

      • workspaceId

        UpdateComponentTypeRequest.Builder workspaceId​(String workspaceId)

        The ID of the workspace.

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

        UpdateComponentTypeRequest.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

        UpdateComponentTypeRequest.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

        UpdateComponentTypeRequest.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

        UpdateComponentTypeRequest.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

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

        Specifies the component type that this component type extends.

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

        UpdateComponentTypeRequest.Builder extendsFrom​(String... extendsFrom)

        Specifies the component type that this component type extends.

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

        UpdateComponentTypeRequest.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.
      • componentTypeName

        UpdateComponentTypeRequest.Builder componentTypeName​(String componentTypeName)

        The component type name.

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

        UpdateComponentTypeRequest.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.