Class ImportDevicesRequest

java.lang.Object
com.azure.resourcemanager.iothub.models.ImportDevicesRequest

public final class ImportDevicesRequest extends Object
Use to provide parameters when requesting an import of all devices in the hub.
  • Constructor Details

    • ImportDevicesRequest

      public ImportDevicesRequest()
  • Method Details

    • inputBlobContainerUri

      public String inputBlobContainerUri()
      Get the inputBlobContainerUri property: The input blob container URI.
      Returns:
      the inputBlobContainerUri value.
    • withInputBlobContainerUri

      public ImportDevicesRequest withInputBlobContainerUri(String inputBlobContainerUri)
      Set the inputBlobContainerUri property: The input blob container URI.
      Parameters:
      inputBlobContainerUri - the inputBlobContainerUri value to set.
      Returns:
      the ImportDevicesRequest object itself.
    • outputBlobContainerUri

      public String outputBlobContainerUri()
      Get the outputBlobContainerUri property: The output blob container URI.
      Returns:
      the outputBlobContainerUri value.
    • withOutputBlobContainerUri

      public ImportDevicesRequest withOutputBlobContainerUri(String outputBlobContainerUri)
      Set the outputBlobContainerUri property: The output blob container URI.
      Parameters:
      outputBlobContainerUri - the outputBlobContainerUri value to set.
      Returns:
      the ImportDevicesRequest object itself.
    • inputBlobName

      public String inputBlobName()
      Get the inputBlobName property: The blob name to be used when importing from the provided input blob container.
      Returns:
      the inputBlobName value.
    • withInputBlobName

      public ImportDevicesRequest withInputBlobName(String inputBlobName)
      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

      public String outputBlobName()
      Get the outputBlobName property: The blob name to use for storing the status of the import job.
      Returns:
      the outputBlobName value.
    • withOutputBlobName

      public ImportDevicesRequest withOutputBlobName(String outputBlobName)
      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

      public AuthenticationType authenticationType()
      Get the authenticationType property: Specifies authentication type being used for connecting to the storage account.
      Returns:
      the authenticationType value.
    • withAuthenticationType

      public ImportDevicesRequest withAuthenticationType(AuthenticationType authenticationType)
      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

      public ManagedIdentity identity()
      Get the identity property: Managed identity properties of storage endpoint for import devices.
      Returns:
      the identity value.
    • withIdentity

      public ImportDevicesRequest withIdentity(ManagedIdentity identity)
      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

      public Boolean includeConfigurations()
      Get the includeConfigurations property: The value indicating whether configurations should be imported.
      Returns:
      the includeConfigurations value.
    • withIncludeConfigurations

      public ImportDevicesRequest withIncludeConfigurations(Boolean includeConfigurations)
      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

      public String 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

      public ImportDevicesRequest withConfigurationsBlobName(String configurationsBlobName)
      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.