DataboxJobSecrets Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. JobSecrets - com.
azure. resourcemanager. databox. models. DataboxJobSecrets
- com.
- com.
public final class DataboxJobSecrets
extends JobSecrets
The secrets related to a databox job.
Constructor Summary
| Constructor | Description |
|---|---|
| DataboxJobSecrets() |
Creates an instance of Databox |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Dc |
dcAccessSecurityCode()
Get the dc |
|
Cloud |
error()
Get the error property: Error while fetching the secrets. |
|
static
Databox |
fromJson(JsonReader jsonReader)
Reads an instance of Databox |
|
Class |
jobSecretsType()
Get the job |
|
List<Data |
podSecrets()
Get the pod |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Databox |
withPodSecrets(List<DataBoxSecret> podSecrets)
Set the pod |
Methods inherited from JobSecrets
Methods inherited from java.lang.Object
Constructor Details
DataboxJobSecrets
public DataboxJobSecrets()
Creates an instance of DataboxJobSecrets class.
Method Details
dcAccessSecurityCode
public DcAccessSecurityCode dcAccessSecurityCode()
Get the dcAccessSecurityCode property: Dc Access Security Code for Customer Managed Shipping.
Overrides:
DataboxJobSecrets.dcAccessSecurityCode()Returns:
error
public CloudError error()
Get the error property: Error while fetching the secrets.
Overrides:
DataboxJobSecrets.error()Returns:
fromJson
public static DataboxJobSecrets fromJson(JsonReader jsonReader)
Reads an instance of DataboxJobSecrets from the JsonReader.
Parameters:
Returns:
Throws:
jobSecretsType
public ClassDiscriminator jobSecretsType()
Get the jobSecretsType property: Used to indicate what type of job secrets object.
Overrides:
DataboxJobSecrets.jobSecretsType()Returns:
podSecrets
public List<DataBoxSecret> podSecrets()
Get the podSecrets property: Contains the list of secret objects for a job.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataboxJobSecrets.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataboxJobSecrets.validate()withPodSecrets
public DataboxJobSecrets withPodSecrets(List<DataBoxSecret> podSecrets)
Set the podSecrets property: Contains the list of secret objects for a job.
Parameters:
Returns: