Package odata.msgraph.client.entity
Class DeviceLogCollectionResponse.Builder
- java.lang.Object
-
- odata.msgraph.client.entity.DeviceLogCollectionResponse.Builder
-
- Enclosing class:
- DeviceLogCollectionResponse
public static final class DeviceLogCollectionResponse.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceLogCollectionResponsebuild()DeviceLogCollectionResponse.BuilderenrolledByUser(String enrolledByUser)“The User Principal Name (UPN) of the user that enrolled the device.”DeviceLogCollectionResponse.BuilderexpirationDateTimeUTC(OffsetDateTime expirationDateTimeUTC)“The DateTime of the expiration of the logs.”DeviceLogCollectionResponse.Builderid(String id)DeviceLogCollectionResponse.BuilderinitiatedByUserPrincipalName(String initiatedByUserPrincipalName)“The UPN for who initiated the request.”DeviceLogCollectionResponse.BuildermanagedDeviceId(UUID managedDeviceId)“Indicates Intune device unique identifier.”DeviceLogCollectionResponse.BuilderreceivedDateTimeUTC(OffsetDateTime receivedDateTimeUTC)“The DateTime the request was received.”DeviceLogCollectionResponse.BuilderrequestedDateTimeUTC(OffsetDateTime requestedDateTimeUTC)“The DateTime of the request.”DeviceLogCollectionResponse.BuildersizeInKB(Double sizeInKB)“The size of the logs in KB.DeviceLogCollectionResponse.Builderstatus(AppLogUploadState status)“Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending.”
-
-
-
Method Detail
-
id
public DeviceLogCollectionResponse.Builder id(String id)
-
enrolledByUser
public DeviceLogCollectionResponse.Builder enrolledByUser(String enrolledByUser)
“The User Principal Name (UPN) of the user that enrolled the device.”- Parameters:
enrolledByUser- value ofenrolledByUserproperty (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 ofexpirationDateTimeUTCproperty (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 ofinitiatedByUserPrincipalNameproperty (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 ofmanagedDeviceIdproperty (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 ofreceivedDateTimeUTCproperty (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 ofrequestedDateTimeUTCproperty (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 ofsizeInKBproperty (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 ofstatusproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DeviceLogCollectionResponse build()
-
-