Interface ImportDataRule.Builder

  • Method Details

    • prefix

      The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.

      Parameters:
      prefix - The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trigger

      ImportDataRule.Builder trigger(String trigger)

      The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

      Parameters:
      trigger - The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trigger

      The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

      Parameters:
      trigger - The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sizeLessThan

      ImportDataRule.Builder sizeLessThan(Long sizeLessThan)

      The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.

      Parameters:
      sizeLessThan - The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.