UnencryptedCredentialsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.fluent.models.UnencryptedCredentialsInner

Implements

public final class UnencryptedCredentialsInner
implements JsonSerializable<UnencryptedCredentialsInner>

Unencrypted credentials for accessing device.

Constructor Summary

Constructor Description
UnencryptedCredentialsInner()

Creates an instance of UnencryptedCredentialsInner class.

Method Summary

Modifier and Type Method and Description
static UnencryptedCredentialsInner fromJson(JsonReader jsonReader)

Reads an instance of UnencryptedCredentialsInner from the JsonReader.

String jobName()

Get the jobName property: Name of the job.

JobSecrets jobSecrets()

Get the jobSecrets property: Secrets related to this job.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UnencryptedCredentialsInner

public UnencryptedCredentialsInner()

Creates an instance of UnencryptedCredentialsInner class.

Method Details

fromJson

public static UnencryptedCredentialsInner fromJson(JsonReader jsonReader)

Reads an instance of UnencryptedCredentialsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UnencryptedCredentialsInner 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 UnencryptedCredentialsInner.

jobName

public String jobName()

Get the jobName property: Name of the job.

Returns:

the jobName value.

jobSecrets

public JobSecrets jobSecrets()

Get the jobSecrets property: Secrets related to this job.

Returns:

the jobSecrets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to