Class DeviceLogCollectionResponse.Builder

    • Method Detail

      • enrolledByUser

        public DeviceLogCollectionResponse.Builder enrolledByUser​(String enrolledByUser)
        “The User Principal Name (UPN) of the user that enrolled the device.”
        Parameters:
        enrolledByUser - value of enrolledByUser property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • expirationDateTimeUTC

        public DeviceLogCollectionResponse.Builder expirationDateTimeUTC​(OffsetDateTime expirationDateTimeUTC)
        “The DateTime of the expiration of the logs.”
        Parameters:
        expirationDateTimeUTC - value of expirationDateTimeUTC property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • initiatedByUserPrincipalName

        public DeviceLogCollectionResponse.Builder initiatedByUserPrincipalName​(String initiatedByUserPrincipalName)
        “The UPN for who initiated the request.”
        Parameters:
        initiatedByUserPrincipalName - value of initiatedByUserPrincipalName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • managedDeviceId

        public DeviceLogCollectionResponse.Builder managedDeviceId​(UUID managedDeviceId)
        “Indicates Intune device unique identifier.”
        Parameters:
        managedDeviceId - value of managedDeviceId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • receivedDateTimeUTC

        public DeviceLogCollectionResponse.Builder receivedDateTimeUTC​(OffsetDateTime receivedDateTimeUTC)
        “The DateTime the request was received.”
        Parameters:
        receivedDateTimeUTC - value of receivedDateTimeUTC property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • requestedDateTimeUTC

        public DeviceLogCollectionResponse.Builder requestedDateTimeUTC​(OffsetDateTime requestedDateTimeUTC)
        “The DateTime of the request.”
        Parameters:
        requestedDateTimeUTC - value of requestedDateTimeUTC property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • sizeInKB

        public DeviceLogCollectionResponse.Builder sizeInKB​(Double sizeInKB)
        “The size of the logs in KB. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”
        Parameters:
        sizeInKB - value of sizeInKB property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • status

        public DeviceLogCollectionResponse.Builder status​(AppLogUploadState status)
        “Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending.”
        Parameters:
        status - value of status property (as defined in service metadata)
        Returns:
        this (for method chaining)