Class MalwareExclusionState

java.lang.Object
com.dropbox.core.v2.teamlog.MalwareExclusionState

public class MalwareExclusionState extends Object
Malware exclusion list state
  • Field Details

    • excludedFileHashesCount

      protected final long excludedFileHashesCount
    • filePathFromLastExclusion

      @Nullable protected final String filePathFromLastExclusion
    • filePathFromLastInclusion

      @Nullable protected final String filePathFromLastInclusion
  • Constructor Details

    • MalwareExclusionState

      public MalwareExclusionState(long excludedFileHashesCount, @Nullable String filePathFromLastExclusion, @Nullable String filePathFromLastInclusion)
      Malware exclusion list state

      Use newBuilder(long) to create instances of this class without specifying values for all optional fields.

      Parameters:
      excludedFileHashesCount - The number of files that are excluded from the monitoring for malware alerts.
      filePathFromLastExclusion - The file path of the last exclusion operation.
      filePathFromLastInclusion - The file path of the last inclusion operation.
    • MalwareExclusionState

      public MalwareExclusionState(long excludedFileHashesCount)
      Malware exclusion list state

      The default values for unset fields will be used.

      Parameters:
      excludedFileHashesCount - The number of files that are excluded from the monitoring for malware alerts.
  • Method Details

    • getExcludedFileHashesCount

      public long getExcludedFileHashesCount()
      The number of files that are excluded from the monitoring for malware alerts.
      Returns:
      value for this field.
    • getFilePathFromLastExclusion

      @Nullable public String getFilePathFromLastExclusion()
      The file path of the last exclusion operation.
      Returns:
      value for this field, or null if not present.
    • getFilePathFromLastInclusion

      @Nullable public String getFilePathFromLastInclusion()
      The file path of the last inclusion operation.
      Returns:
      value for this field, or null if not present.
    • newBuilder

      public static MalwareExclusionState.Builder newBuilder(long excludedFileHashesCount)
      Returns a new builder for creating an instance of this class.
      Parameters:
      excludedFileHashesCount - The number of files that are excluded from the monitoring for malware alerts.
      Returns:
      builder for this class.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Returns:
      Formatted, multiline String representation of this object