StorageTaskReportInstanceInner Class

public final class StorageTaskReportInstanceInner
extends ProxyResource

Storage Tasks run report instance.

Constructor Summary

Constructor Description
StorageTaskReportInstanceInner()

Creates an instance of StorageTaskReportInstanceInner class.

Method Summary

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

Reads an instance of StorageTaskReportInstanceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

StorageTaskReportProperties properties()

Get the properties property: Storage task execution report for a run instance.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StorageTaskReportInstanceInner withProperties(StorageTaskReportProperties properties)

Set the properties property: Storage task execution report for a run instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StorageTaskReportInstanceInner

public StorageTaskReportInstanceInner()

Creates an instance of StorageTaskReportInstanceInner class.

Method Details

fromJson

public static StorageTaskReportInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of StorageTaskReportInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StorageTaskReportInstanceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StorageTaskReportInstanceInner.name()

Returns:

the name value.

properties

public StorageTaskReportProperties properties()

Get the properties property: Storage task execution report for a run instance.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StorageTaskReportInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StorageTaskReportInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public StorageTaskReportInstanceInner withProperties(StorageTaskReportProperties properties)

Set the properties property: Storage task execution report for a run instance.

Parameters:

properties - the properties value to set.

Returns:

the StorageTaskReportInstanceInner object itself.

Applies to