Package com.dropbox.core.v2.teamlog
Class MalwareExclusionState
java.lang.Object
com.dropbox.core.v2.teamlog.MalwareExclusionState
Malware exclusion list state
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMalwareExclusionState(long excludedFileHashesCount) Malware exclusion list stateMalwareExclusionState(long excludedFileHashesCount, String filePathFromLastExclusion, String filePathFromLastInclusion) Malware exclusion list state -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongThe number of files that are excluded from the monitoring for malware alerts.The file path of the last exclusion operation.The file path of the last inclusion operation.inthashCode()newBuilder(long excludedFileHashesCount) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
excludedFileHashesCount
protected final long excludedFileHashesCount -
filePathFromLastExclusion
-
filePathFromLastInclusion
-
-
Constructor Details
-
MalwareExclusionState
public MalwareExclusionState(long excludedFileHashesCount, @Nullable String filePathFromLastExclusion, @Nullable String filePathFromLastInclusion) Malware exclusion list stateUse
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 stateThe 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
The file path of the last exclusion operation.- Returns:
- value for this field, or
nullif not present.
-
getFilePathFromLastInclusion
The file path of the last inclusion operation.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
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() -
equals
-
toString
-
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
-