Interface ConnectionItem.Builder

  • Method Details

    • id

      The identifier of the item. To list the contents of the item, pass this value as parentId. This doesn't apply to a FILE.

      Parameters:
      id - The identifier of the item. To list the contents of the item, pass this value as parentId . This doesn't apply to a FILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kind

      The type of item. Valid values:

      • FILE – A document that you can link as evidence.

      • FOLDER – A folder that contains other items.

      • LIBRARY – A SharePoint document library.

      • REPOSITORY – A GitHub repository.

      • SITE – A SharePoint site.

      Parameters:
      kind - The type of item. Valid values:

      • FILE – A document that you can link as evidence.

      • FOLDER – A folder that contains other items.

      • LIBRARY – A SharePoint document library.

      • REPOSITORY – A GitHub repository.

      • SITE – A SharePoint site.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kind

      The type of item. Valid values:

      • FILE – A document that you can link as evidence.

      • FOLDER – A folder that contains other items.

      • LIBRARY – A SharePoint document library.

      • REPOSITORY – A GitHub repository.

      • SITE – A SharePoint site.

      Parameters:
      kind - The type of item. Valid values:

      • FILE – A document that you can link as evidence.

      • FOLDER – A folder that contains other items.

      • LIBRARY – A SharePoint document library.

      • REPOSITORY – A GitHub repository.

      • SITE – A SharePoint site.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The display name of the item.

      Parameters:
      name - The display name of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • url

      The URL of the item. This field is present for a FILE. To add the file as evidence, pass this value as reference to PutEvidence.

      Parameters:
      url - The URL of the item. This field is present for a FILE. To add the file as evidence, pass this value as reference to PutEvidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeBytes

      ConnectionItem.Builder sizeBytes(Long sizeBytes)

      The size of the item in bytes. This field is present for a FILE.

      Parameters:
      sizeBytes - The size of the item in bytes. This field is present for a FILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      ConnectionItem.Builder updatedAt(Instant updatedAt)

      The time when the provider last recorded a change to the item. This field is present for a FILE.

      Parameters:
      updatedAt - The time when the provider last recorded a change to the item. This field is present for a FILE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.