Class DeviceDeleteOnUnlinkFailDetails


  • public class DeviceDeleteOnUnlinkFailDetails
    extends java.lang.Object
    Failed to delete all files from unlinked device.
    • Field Detail

      • displayName

        protected final java.lang.String displayName
      • numFailures

        protected final long numFailures
    • Constructor Detail

      • DeviceDeleteOnUnlinkFailDetails

        public DeviceDeleteOnUnlinkFailDetails​(long numFailures,
                                               SessionLogInfo sessionInfo,
                                               java.lang.String displayName)
        Failed to delete all files from unlinked device.

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

        Parameters:
        numFailures - The number of times that remote file deletion failed.
        sessionInfo - Session unique id.
        displayName - The device name. Might be missing due to historical data gap.
      • DeviceDeleteOnUnlinkFailDetails

        public DeviceDeleteOnUnlinkFailDetails​(long numFailures)
        Failed to delete all files from unlinked device.

        The default values for unset fields will be used.

        Parameters:
        numFailures - The number of times that remote file deletion failed.
    • Method Detail

      • getNumFailures

        public long getNumFailures()
        The number of times that remote file deletion failed.
        Returns:
        value for this field.
      • getSessionInfo

        public SessionLogInfo getSessionInfo()
        Session unique id.
        Returns:
        value for this field, or null if not present.
      • getDisplayName

        public java.lang.String getDisplayName()
        The device name. Might be missing due to historical data gap.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static DeviceDeleteOnUnlinkFailDetails.Builder newBuilder​(long numFailures)
        Returns a new builder for creating an instance of this class.
        Parameters:
        numFailures - The number of times that remote file deletion failed.
        Returns:
        builder for this class.
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public java.lang.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