ContextCacheProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.ContextCacheProperties

Implements

public final class ContextCacheProperties
implements JsonSerializable<ContextCacheProperties>

Details of the Context Cache.

Constructor Summary

Constructor Description
ContextCacheProperties()

Creates an instance of ContextCacheProperties class.

Method Summary

Modifier and Type Method and Description
ContextCacheAccountKind accountKind()

Get the accountKind property: The kind of account determining storage topology.

String description()

Get the description property: Account description.

StorageAccountEncryption encryption()

Get the encryption property: Encryption settings for the account.

static ContextCacheProperties fromJson(JsonReader jsonReader)

Reads an instance of ContextCacheProperties from the JsonReader.

ContextCacheProvisioningState provisioningState()

Get the provisioningState property: The status of the last operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContextCacheProperties withAccountKind(ContextCacheAccountKind accountKind)

Set the accountKind property: The kind of account determining storage topology.

ContextCacheProperties withDescription(String description)

Set the description property: Account description.

ContextCacheProperties withEncryption(StorageAccountEncryption encryption)

Set the encryption property: Encryption settings for the account.

Methods inherited from java.lang.Object

Constructor Details

ContextCacheProperties

public ContextCacheProperties()

Creates an instance of ContextCacheProperties class.

Method Details

accountKind

public ContextCacheAccountKind accountKind()

Get the accountKind property: The kind of account determining storage topology.

Returns:

the accountKind value.

description

public String description()

Get the description property: Account description.

Returns:

the description value.

encryption

public StorageAccountEncryption encryption()

Get the encryption property: Encryption settings for the account.

Returns:

the encryption value.

fromJson

public static ContextCacheProperties fromJson(JsonReader jsonReader)

Reads an instance of ContextCacheProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ContextCacheProvisioningState provisioningState()

Get the provisioningState property: The status of the last operation.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccountKind

public ContextCacheProperties withAccountKind(ContextCacheAccountKind accountKind)

Set the accountKind property: The kind of account determining storage topology.

Parameters:

accountKind - the accountKind value to set.

Returns:

the ContextCacheProperties object itself.

withDescription

public ContextCacheProperties withDescription(String description)

Set the description property: Account description.

Parameters:

description - the description value to set.

Returns:

the ContextCacheProperties object itself.

withEncryption

public ContextCacheProperties withEncryption(StorageAccountEncryption encryption)

Set the encryption property: Encryption settings for the account.

Parameters:

encryption - the encryption value to set.

Returns:

the ContextCacheProperties object itself.

Applies to