次の方法で共有


DataboxJobSecrets Class

public final class DataboxJobSecrets
extends JobSecrets

The secrets related to a databox job.

Constructor Summary

Constructor Description
DataboxJobSecrets()

Creates an instance of DataboxJobSecrets class.

Method Summary

Modifier and Type Method and Description
DcAccessSecurityCode dcAccessSecurityCode()

Get the dcAccessSecurityCode property: Dc Access Security Code for Customer Managed Shipping.

CloudError error()

Get the error property: Error while fetching the secrets.

static DataboxJobSecrets fromJson(JsonReader jsonReader)

Reads an instance of DataboxJobSecrets from the JsonReader.

ClassDiscriminator jobSecretsType()

Get the jobSecretsType property: Used to indicate what type of job secrets object.

List<DataBoxSecret> podSecrets()

Get the podSecrets property: Contains the list of secret objects for a job.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataboxJobSecrets withPodSecrets(List<DataBoxSecret> podSecrets)

Set the podSecrets property: Contains the list of secret objects for a job.

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:

the dcAccessSecurityCode value.

error

public CloudError error()

Get the error property: Error while fetching the secrets.

Overrides:

DataboxJobSecrets.error()

Returns:

the error value.

fromJson

public static DataboxJobSecrets fromJson(JsonReader jsonReader)

Reads an instance of DataboxJobSecrets from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataboxJobSecrets if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataboxJobSecrets.

jobSecretsType

public ClassDiscriminator jobSecretsType()

Get the jobSecretsType property: Used to indicate what type of job secrets object.

Overrides:

DataboxJobSecrets.jobSecretsType()

Returns:

the jobSecretsType value.

podSecrets

public List<DataBoxSecret> podSecrets()

Get the podSecrets property: Contains the list of secret objects for a job.

Returns:

the podSecrets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataboxJobSecrets.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

podSecrets - the podSecrets value to set.

Returns:

the DataboxJobSecrets object itself.

Applies to