StorageTaskPreviewActionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storageactions.fluent.models.StorageTaskPreviewActionInner

Implements

public final class StorageTaskPreviewActionInner
implements JsonSerializable<StorageTaskPreviewActionInner>

Storage Task Preview Action.

Constructor Summary

Constructor Description
StorageTaskPreviewActionInner()

Creates an instance of StorageTaskPreviewActionInner class.

Method Summary

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

Reads an instance of StorageTaskPreviewActionInner from the JsonReader.

StorageTaskPreviewActionProperties properties()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageTaskPreviewActionInner withProperties(StorageTaskPreviewActionProperties properties)

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

Methods inherited from java.lang.Object

Constructor Details

StorageTaskPreviewActionInner

public StorageTaskPreviewActionInner()

Creates an instance of StorageTaskPreviewActionInner class.

Method Details

fromJson

public static StorageTaskPreviewActionInner fromJson(JsonReader jsonReader)

Reads an instance of StorageTaskPreviewActionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public StorageTaskPreviewActionProperties properties()

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

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public StorageTaskPreviewActionInner withProperties(StorageTaskPreviewActionProperties properties)

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

Parameters:

properties - the properties value to set.

Returns:

the StorageTaskPreviewActionInner object itself.

Applies to