Condividi tramite


AzureStoragePropertyDictionaryResourceInner Class

public final class AzureStoragePropertyDictionaryResourceInner
extends ProxyOnlyResource

AzureStorageInfo dictionary resource.

Constructor Summary

Constructor Description
AzureStoragePropertyDictionaryResourceInner()

Creates an instance of AzureStoragePropertyDictionaryResourceInner class.

Method Summary

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

Reads an instance of AzureStoragePropertyDictionaryResourceInner from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

Map<String,AzureStorageInfoValue> properties()

Get the properties property: Azure storage accounts.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

AzureStoragePropertyDictionaryResourceInner withKind(String kind)

Set the kind property: Kind of resource.

AzureStoragePropertyDictionaryResourceInner withProperties(Map<String,AzureStorageInfoValue> properties)

Set the properties property: Azure storage accounts.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

AzureStoragePropertyDictionaryResourceInner

public AzureStoragePropertyDictionaryResourceInner()

Creates an instance of AzureStoragePropertyDictionaryResourceInner class.

Method Details

fromJson

public static AzureStoragePropertyDictionaryResourceInner fromJson(JsonReader jsonReader)

Reads an instance of AzureStoragePropertyDictionaryResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource Id.

Overrides:

AzureStoragePropertyDictionaryResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

AzureStoragePropertyDictionaryResourceInner.name()

Returns:

the name value.

properties

public Map<String,AzureStorageInfoValue> properties()

Get the properties property: Azure storage accounts.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureStoragePropertyDictionaryResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

AzureStoragePropertyDictionaryResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AzureStoragePropertyDictionaryResourceInner.validate()

withKind

public AzureStoragePropertyDictionaryResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

AzureStoragePropertyDictionaryResourceInner.withKind(String kind)

Parameters:

kind

withProperties

public AzureStoragePropertyDictionaryResourceInner withProperties(Map<String,AzureStorageInfoValue> properties)

Set the properties property: Azure storage accounts.

Parameters:

properties - the properties value to set.

Returns:

the AzureStoragePropertyDictionaryResourceInner object itself.

Applies to