FilesNotTieringError Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.FilesNotTieringError

Implements

public final class FilesNotTieringError
implements JsonSerializable<FilesNotTieringError>

Files not tiering error object.

Method Summary

Modifier and Type Method and Description
Integer errorCode()

Get the errorCode property: Error code (HResult).

Long fileCount()

Get the fileCount property: Count of files with this error.

static FilesNotTieringError fromJson(JsonReader jsonReader)

Reads an instance of FilesNotTieringError from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

errorCode

public Integer errorCode()

Get the errorCode property: Error code (HResult).

Returns:

the errorCode value.

fileCount

public Long fileCount()

Get the fileCount property: Count of files with this error.

Returns:

the fileCount value.

fromJson

public static FilesNotTieringError fromJson(JsonReader jsonReader)

Reads an instance of FilesNotTieringError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to