StorageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.StorageProperties

Implements

public class StorageProperties
implements JsonSerializable<StorageProperties>

Storage resource payload.

Constructor Summary

Constructor Description
StorageProperties()

Creates an instance of StorageProperties class.

Method Summary

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

Reads an instance of StorageProperties from the JsonReader.

StorageType storageType()

Get the storageType property: The type of the storage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StorageProperties

public StorageProperties()

Creates an instance of StorageProperties class.

Method Details

fromJson

public static StorageProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

storageType

public StorageType storageType()

Get the storageType property: The type of the storage.

Returns:

the storageType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to