Class ImportDevicesRequest
java.lang.Object
com.azure.resourcemanager.iothub.models.ImportDevicesRequest
Use to provide parameters when requesting an import of all devices in the hub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: Specifies authentication type being used for connecting to the storage account.Get the configurationsBlobName property: The blob name to be used when importing configurations from the provided input blob container.identity()
Get the identity property: Managed identity properties of storage endpoint for import devices.Get the includeConfigurations property: The value indicating whether configurations should be imported.Get the inputBlobContainerUri property: The input blob container URI.Get the inputBlobName property: The blob name to be used when importing from the provided input blob container.Get the outputBlobContainerUri property: The output blob container URI.Get the outputBlobName property: The blob name to use for storing the status of the import job.void
validate()
Validates the instance.withAuthenticationType
(AuthenticationType authenticationType) Set the authenticationType property: Specifies authentication type being used for connecting to the storage account.withConfigurationsBlobName
(String configurationsBlobName) Set the configurationsBlobName property: The blob name to be used when importing configurations from the provided input blob container.withIdentity
(ManagedIdentity identity) Set the identity property: Managed identity properties of storage endpoint for import devices.withIncludeConfigurations
(Boolean includeConfigurations) Set the includeConfigurations property: The value indicating whether configurations should be imported.withInputBlobContainerUri
(String inputBlobContainerUri) Set the inputBlobContainerUri property: The input blob container URI.withInputBlobName
(String inputBlobName) Set the inputBlobName property: The blob name to be used when importing from the provided input blob container.withOutputBlobContainerUri
(String outputBlobContainerUri) Set the outputBlobContainerUri property: The output blob container URI.withOutputBlobName
(String outputBlobName) Set the outputBlobName property: The blob name to use for storing the status of the import job.
-
Constructor Details
-
ImportDevicesRequest
public ImportDevicesRequest()
-
-
Method Details
-
inputBlobContainerUri
Get the inputBlobContainerUri property: The input blob container URI.- Returns:
- the inputBlobContainerUri value.
-
withInputBlobContainerUri
Set the inputBlobContainerUri property: The input blob container URI.- Parameters:
inputBlobContainerUri
- the inputBlobContainerUri value to set.- Returns:
- the ImportDevicesRequest object itself.
-
outputBlobContainerUri
Get the outputBlobContainerUri property: The output blob container URI.- Returns:
- the outputBlobContainerUri value.
-
withOutputBlobContainerUri
Set the outputBlobContainerUri property: The output blob container URI.- Parameters:
outputBlobContainerUri
- the outputBlobContainerUri value to set.- Returns:
- the ImportDevicesRequest object itself.
-
inputBlobName
Get the inputBlobName property: The blob name to be used when importing from the provided input blob container.- Returns:
- the inputBlobName value.
-
withInputBlobName
Set the inputBlobName property: The blob name to be used when importing from the provided input blob container.- Parameters:
inputBlobName
- the inputBlobName value to set.- Returns:
- the ImportDevicesRequest object itself.
-
outputBlobName
Get the outputBlobName property: The blob name to use for storing the status of the import job.- Returns:
- the outputBlobName value.
-
withOutputBlobName
Set the outputBlobName property: The blob name to use for storing the status of the import job.- Parameters:
outputBlobName
- the outputBlobName value to set.- Returns:
- the ImportDevicesRequest object itself.
-
authenticationType
Get the authenticationType property: Specifies authentication type being used for connecting to the storage account.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: Specifies authentication type being used for connecting to the storage account.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the ImportDevicesRequest object itself.
-
identity
Get the identity property: Managed identity properties of storage endpoint for import devices.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identity properties of storage endpoint for import devices.- Parameters:
identity
- the identity value to set.- Returns:
- the ImportDevicesRequest object itself.
-
includeConfigurations
Get the includeConfigurations property: The value indicating whether configurations should be imported.- Returns:
- the includeConfigurations value.
-
withIncludeConfigurations
Set the includeConfigurations property: The value indicating whether configurations should be imported.- Parameters:
includeConfigurations
- the includeConfigurations value to set.- Returns:
- the ImportDevicesRequest object itself.
-
configurationsBlobName
Get the configurationsBlobName property: The blob name to be used when importing configurations from the provided input blob container.- Returns:
- the configurationsBlobName value.
-
withConfigurationsBlobName
Set the configurationsBlobName property: The blob name to be used when importing configurations from the provided input blob container.- Parameters:
configurationsBlobName
- the configurationsBlobName value to set.- Returns:
- the ImportDevicesRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-