Class DataboxJobSecrets
java.lang.Object
com.azure.resourcemanager.databox.models.JobSecrets
com.azure.resourcemanager.databox.models.DataboxJobSecrets
The secrets related to a databox job.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the podSecrets property: Contains the list of secret objects for a job.void
validate()
Validates the instance.withPodSecrets
(List<DataBoxSecret> podSecrets) Set the podSecrets property: Contains the list of secret objects for a job.Methods inherited from class com.azure.resourcemanager.databox.models.JobSecrets
dcAccessSecurityCode, error
-
Constructor Details
-
DataboxJobSecrets
public DataboxJobSecrets()Creates an instance of DataboxJobSecrets class.
-
-
Method Details
-
podSecrets
Get the podSecrets property: Contains the list of secret objects for a job.- Returns:
- the podSecrets value.
-
withPodSecrets
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 classJobSecrets
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-