Class DataBoxDiskJobSecrets

java.lang.Object
com.azure.resourcemanager.databox.models.JobSecrets
com.azure.resourcemanager.databox.models.DataBoxDiskJobSecrets

public final class DataBoxDiskJobSecrets extends JobSecrets
The secrets related to disk job.
  • Constructor Details

    • DataBoxDiskJobSecrets

      public DataBoxDiskJobSecrets()
      Creates an instance of DataBoxDiskJobSecrets class.
  • Method Details

    • diskSecrets

      public List<DiskSecret> diskSecrets()
      Get the diskSecrets property: Contains the list of secrets object for that device.
      Returns:
      the diskSecrets value.
    • passKey

      public String passKey()
      Get the passKey property: PassKey for the disk Job.
      Returns:
      the passKey value.
    • isPasskeyUserDefined

      public Boolean isPasskeyUserDefined()
      Get the isPasskeyUserDefined property: Whether passkey was provided by user.
      Returns:
      the isPasskeyUserDefined value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class JobSecrets
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.