DataBoxAccountCopyLogDetails Class

public final class DataBoxAccountCopyLogDetails
extends CopyLogDetails

Copy log details for a storage account of a DataBox job.

Constructor Summary

Constructor Description
DataBoxAccountCopyLogDetails()

Creates an instance of DataBoxAccountCopyLogDetails class.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: Account name.

ClassDiscriminator copyLogDetailsType()

Get the copyLogDetailsType property: Indicates the type of job details.

String copyLogLink()

Get the copyLogLink property: Link for copy logs.

String copyVerboseLogLink()

Get the copyVerboseLogLink property: Link for copy verbose logs.

static DataBoxAccountCopyLogDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxAccountCopyLogDetails from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from CopyLogDetails

Methods inherited from java.lang.Object

Constructor Details

DataBoxAccountCopyLogDetails

public DataBoxAccountCopyLogDetails()

Creates an instance of DataBoxAccountCopyLogDetails class.

Method Details

accountName

public String accountName()

Get the accountName property: Account name.

Returns:

the accountName value.

copyLogDetailsType

public ClassDiscriminator copyLogDetailsType()

Get the copyLogDetailsType property: Indicates the type of job details.

Overrides:

DataBoxAccountCopyLogDetails.copyLogDetailsType()

Returns:

the copyLogDetailsType value.

copyLogLink

public String copyLogLink()

Get the copyLogLink property: Link for copy logs.

Returns:

the copyLogLink value.

copyVerboseLogLink

public String copyVerboseLogLink()

Get the copyVerboseLogLink property: Link for copy verbose logs. This will be set only when LogCollectionLevel is set to Verbose.

Returns:

the copyVerboseLogLink value.

fromJson

public static DataBoxAccountCopyLogDetails fromJson(JsonReader jsonReader)

Reads an instance of DataBoxAccountCopyLogDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataBoxAccountCopyLogDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataBoxAccountCopyLogDetails.validate()

Applies to