Class DataboxJobSecrets

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

public final class DataboxJobSecrets extends JobSecrets
The secrets related to a databox job.
  • Constructor Details

    • DataboxJobSecrets

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

    • podSecrets

      public List<DataBoxSecret> podSecrets()
      Get the podSecrets property: Contains the list of secret objects for a job.
      Returns:
      the podSecrets value.
    • withPodSecrets

      public DataboxJobSecrets withPodSecrets(List<DataBoxSecret> podSecrets)
      Set the podSecrets property: Contains the list of secret objects for a job.
      Parameters:
      podSecrets - the podSecrets value to set.
      Returns:
      the DataboxJobSecrets object itself.
    • validate

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