public class DeviceDeleteOnUnlinkFailDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DeviceDeleteOnUnlinkFailDetails.Builder
Builder for
DeviceDeleteOnUnlinkFailDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
displayName |
protected long |
numFailures |
protected SessionLogInfo |
sessionInfo |
Constructor and Description |
---|
DeviceDeleteOnUnlinkFailDetails(long numFailures)
Failed to delete all files from unlinked device.
|
DeviceDeleteOnUnlinkFailDetails(long numFailures,
SessionLogInfo sessionInfo,
java.lang.String displayName)
Failed to delete all files from unlinked device.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
The device name.
|
long |
getNumFailures()
The number of times that remote file deletion failed.
|
SessionLogInfo |
getSessionInfo()
Session unique id.
|
int |
hashCode() |
static DeviceDeleteOnUnlinkFailDetails.Builder |
newBuilder(long numFailures)
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final SessionLogInfo sessionInfo
protected final java.lang.String displayName
protected final long numFailures
public DeviceDeleteOnUnlinkFailDetails(long numFailures, SessionLogInfo sessionInfo, java.lang.String displayName)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
numFailures
- The number of times that remote file deletion failed.sessionInfo
- Session unique id. Might be missing due to historical
data gap.displayName
- The device name. Might be missing due to historical
data gap.public DeviceDeleteOnUnlinkFailDetails(long numFailures)
The default values for unset fields will be used.
numFailures
- The number of times that remote file deletion failed.public long getNumFailures()
public SessionLogInfo getSessionInfo()
null
if not present.public java.lang.String getDisplayName()
null
if not present.public static DeviceDeleteOnUnlinkFailDetails.Builder newBuilder(long numFailures)
numFailures
- The number of times that remote file deletion failed.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.