Class ObjectRelationship.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • relationshipType

        public ObjectRelationship.Builder relationshipType​(String relationshipType)
        Type of relationship with the referencing object.
        Parameters:
        relationshipType - the value to set
        Returns:
        this builder
      • typeName

        public ObjectRelationship.Builder typeName​(String typeName)
        Type name of the object.

        Type names can be found via the ‘/types’ endpoint.

        Parameters:
        typeName - the value to set
        Returns:
        this builder
      • typeKey

        public ObjectRelationship.Builder typeKey​(String typeKey)
        Type key of the object.

        Type keys can be found via the ‘/types’ endpoint.

        Parameters:
        typeKey - the value to set
        Returns:
        this builder
      • timeCreated

        public ObjectRelationship.Builder timeCreated​(Date timeCreated)
        The date and time the relationship was created, in the format defined by RFC3339.

        Example: 2019-03-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ObjectRelationship.Builder timeUpdated​(Date timeUpdated)
        The last time a change was made to this reference.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • parentKey

        public ObjectRelationship.Builder parentKey​(String parentKey)
        Key of the parent object for the resource.
        Parameters:
        parentKey - the value to set
        Returns:
        this builder
      • parentPath

        public ObjectRelationship.Builder parentPath​(String parentPath)
        Full path of the parent object.
        Parameters:
        parentPath - the value to set
        Returns:
        this builder