ExportImportDevice Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. registry. ExportImportDevice
- com.
public class ExportImportDevice
Constructor Summary
Constructor | Description |
---|---|
ExportImportDevice() |
Default constructor for an ExportImportDevice object. Randomly generates a device ID and uses a randomly generated shared access signature for authentication |
ExportImportDevice(String deviceId, AuthenticationType authenticationType) |
Constructor for an ExportImportDevice object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthentication()
Getter for device authentication mechanism. |
void |
setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism. |
Constructor Details
ExportImportDevice
public ExportImportDevice()
Default constructor for an ExportImportDevice object. Randomly generates a device ID and uses a randomly generated shared access signature for authentication
ExportImportDevice
public ExportImportDevice(String deviceId, AuthenticationType authenticationType)
Constructor for an ExportImportDevice object.
Parameters:
Throws:
Method Details
getAuthentication
public AuthenticationMechanism getAuthentication()
Getter for device authentication mechanism.
Returns:
setAuthentication
public void setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism.
Parameters:
Throws:
Applies to
Azure SDK for Java