Partilhar via


StorageTaskAssignmentInner Class

public final class StorageTaskAssignmentInner
extends ProxyResource

The storage task assignment.

Constructor Summary

Constructor Description
StorageTaskAssignmentInner()

Creates an instance of StorageTaskAssignmentInner class.

Method Summary

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

Reads an instance of StorageTaskAssignmentInner 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.

StorageTaskAssignmentProperties properties()

Get the properties property: Properties of the storage task assignment.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StorageTaskAssignmentInner withProperties(StorageTaskAssignmentProperties properties)

Set the properties property: Properties of the storage task assignment.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StorageTaskAssignmentInner

public StorageTaskAssignmentInner()

Creates an instance of StorageTaskAssignmentInner class.

Method Details

fromJson

public static StorageTaskAssignmentInner fromJson(JsonReader jsonReader)

Reads an instance of StorageTaskAssignmentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageTaskAssignmentInner 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:

StorageTaskAssignmentInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StorageTaskAssignmentInner.name()

Returns:

the name value.

properties

public StorageTaskAssignmentProperties properties()

Get the properties property: Properties of the storage task assignment.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StorageTaskAssignmentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StorageTaskAssignmentInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public StorageTaskAssignmentInner withProperties(StorageTaskAssignmentProperties properties)

Set the properties property: Properties of the storage task assignment.

Parameters:

properties - the properties value to set.

Returns:

the StorageTaskAssignmentInner object itself.

Applies to