ContextCacheProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ContextCacheProperties
- com.
Implements
public final class ContextCacheProperties
implements JsonSerializable<ContextCacheProperties>
Details of the Context Cache.
Constructor Summary
| Constructor | Description |
|---|---|
| ContextCacheProperties() |
Creates an instance of Context |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Context |
accountKind()
Get the account |
| String |
description()
Get the description property: Account description. |
|
Storage |
encryption()
Get the encryption property: Encryption settings for the account. |
|
static
Context |
fromJson(JsonReader jsonReader)
Reads an instance of Context |
|
Context |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Context |
withAccountKind(ContextCacheAccountKind accountKind)
Set the account |
|
Context |
withDescription(String description)
Set the description property: Account description. |
|
Context |
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:
description
public String description()
Get the description property: Account description.
Returns:
encryption
public StorageAccountEncryption encryption()
Get the encryption property: Encryption settings for the account.
Returns:
fromJson
public static ContextCacheProperties fromJson(JsonReader jsonReader)
Reads an instance of ContextCacheProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ContextCacheProvisioningState provisioningState()
Get the provisioningState property: The status of the last operation.
Returns:
toJson
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:
Returns:
withDescription
public ContextCacheProperties withDescription(String description)
Set the description property: Account description.
Parameters:
Returns:
withEncryption
public ContextCacheProperties withEncryption(StorageAccountEncryption encryption)
Set the encryption property: Encryption settings for the account.
Parameters:
Returns: