BulkEnrollmentOperationError Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. service. configs. BulkEnrollmentOperationError
- com.
public class BulkEnrollmentOperationError
Representation of a single Device Provisioning Service device registration operation error.
This error is returned as a result of the runBulkEnrollmentOperation(BulkOperationMode bulkOperationMode, Collection<IndividualEnrollment> individualEnrollments), in the BulkEnrollmentOperationResult.
The following JSON is an example of a single error operation from a Bulk operation
{
"registrationId":"validRegistrationId1",
"errorCode":200,
"errorStatus":"Succeeded"
}
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getErrorCode()
Getter for the error code. |
java.lang.String |
getErrorStatus()
Getter for the error status. |
java.lang.String |
getRegistrationId()
Getter for the error registration |
Methods inherited from java.lang.Object
Method Details
getErrorCode
public Integer getErrorCode()
Getter for the error code.
Returns:
Integer
with the errorCode content. It cannot be null
.getErrorStatus
public String getErrorStatus()
Getter for the error status.
Returns:
String
with the errorStatus content. It can be null
.getRegistrationId
public String getRegistrationId()
Getter for the error registrationId.
Returns:
String
with the registrationId content. It cannot be null
.Applies to
Azure SDK for Java