public class ExportImportDevice extends Object
| Constructor and Description |
|---|
ExportImportDevice()
Default constructor for an ExportImportDevice object.
|
ExportImportDevice(String deviceId,
AuthenticationType authenticationType)
Constructor for an ExportImportDevice object.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMechanism |
getAuthentication()
Getter for device authentication mechanism.
|
void |
setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism.
|
public ExportImportDevice()
public ExportImportDevice(String deviceId, AuthenticationType authenticationType) throws IllegalArgumentException
deviceId - the id of the new deviceauthenticationType - the type of authentication to be used. For shared access signature and self signed x.509, all keys shall be generated automatically.IllegalArgumentException - if the provided deviceId or authenticationType is null or emptypublic AuthenticationMechanism getAuthentication()
public void setAuthentication(AuthenticationMechanism authentication) throws IllegalArgumentException
authentication - The device authentication mechanism.IllegalArgumentException - if the provided authentication is nullCopyright © 2024. All rights reserved.